.github/workflows/rspec.yml in cpl-0.7.0 vs .github/workflows/rspec.yml in cpl-1.0.0
- old
+ new
@@ -6,19 +6,22 @@
- main
pull_request:
jobs:
rspec:
- runs-on: ubuntu-latest
- name: RSpec
- env:
- RAILS_ENV: test
strategy:
matrix:
+ os:
+ - ubuntu-latest
+ - macos-latest
ruby:
- "2.7"
- "3.0"
+ runs-on: ${{ matrix.os }}
+ name: RSpec
+ env:
+ RAILS_ENV: test
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
@@ -26,10 +29,10 @@
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Install dependencies
run: bundle install
- name: Run tests
- run: bundle exec rspec spec
+ run: bundle exec rspec
- name: Upload coverage results
uses: actions/upload-artifact@master
if: always()
with:
name: coverage-report