diff options
-rw-r--r-- | .github/workflows/workflow.yml | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml new file mode 100644 index 0000000000..0811209a11 --- /dev/null +++ b/.github/workflows/workflow.yml @@ -0,0 +1,29 @@ +on: pull_request + +jobs: + macos: + name: rake test + runs-on: macos-latest + strategy: + matrix: + ruby: [ '2.3.x', '2.4.x', '2.5.x', '2.6.x' ] + steps: + - name: Disable Firewall + run: | + sudo /usr/libexec/ApplicationFirewall/socketfilterfw --setglobalstate off + sudo /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate + - name: Checkout + uses: actions/checkout@master + with: + fetch-depth: 5 + - name: Setup ruby + uses: actions/setup-ruby@v1 + with: + version: ${{ matrix.ruby }} + architecture: 'x64' + - name: Install Dependencies + run: util/ci.sh before_script + - name: Run Test + run: util/ci.sh script + env: + TEST_TOOL: "rubygems" |