diff options
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/unit_specs.yml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/.github/workflows/unit_specs.yml b/.github/workflows/unit_specs.yml new file mode 100644 index 0000000000..5013a80d99 --- /dev/null +++ b/.github/workflows/unit_specs.yml @@ -0,0 +1,26 @@ +--- +name: unit_specs + +"on": + pull_request: + push: + branches: + - master + +jobs: + unit: + strategy: + fail-fast: false + matrix: + os: [macos-10.15, macos-11.0] + # Due to https://github.com/actions/runner/issues/849, we have to use quotes for '3.0' + ruby: ['3.0'] + runs-on: ${{ matrix.os }} + steps: + - uses: actions/checkout@v2 + - uses: ruby/setup-ruby@v1 + with: + ruby-version: ${{ matrix.ruby }} + bundler-cache: true + - run: bundle exec rake spec:unit + - run: bundle exec rake component_specs |