aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/workflow.yml
blob: 0811209a11730cc11f6fab6f25328792f9c6610c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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"