.github/workflows/rspec.yml in trestle-0.9.8 vs .github/workflows/rspec.yml in trestle-0.10.0.pre
- old
+ new
@@ -5,24 +5,54 @@
jobs:
test:
strategy:
fail-fast: false
matrix:
- gemfile: [ rails-5.0, rails-5.1, rails-5.2, rails-6.0, rails-6.1 ]
+ gemfile: [ rails-5.2, rails-6.0, rails-6.1 ]
ruby: [ '2.7' ]
include:
- gemfile: rails-6.1
ruby: '3.0'
- gemfile: rails-7.0
ruby: '2.7'
- gemfile: rails-7.0
ruby: '3.0'
+ - gemfile: rails-7.0-propshaft
+ ruby: '3.0'
+ - gemfile: rails-7.1
+ ruby: '3.3'
+ - gemfile: rails-7.1-propshaft
+ ruby: '3.3'
+ - gemfile: rails-7.2
+ ruby: '3.3'
+ - gemfile: rails-7.2-propshaft
+ ruby: '3.3'
runs-on: ubuntu-latest
env:
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile
steps:
- - uses: actions/checkout@v3
- - uses: ruby/setup-ruby@v1
+ - uses: actions/checkout@v4
+
+ - name: Install Ruby
+ uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- - run: bundle exec rake
+
+ - name: Run Specs
+ run: bundle exec rake
+
+ - name: Coveralls Parallel
+ uses: coverallsapp/github-action@v2
+ with:
+ flag-name: run-${{ join(matrix.*, '-') }}
+ parallel: true
+
+ finish:
+ needs: test
+ if: ${{ always() }}
+ runs-on: ubuntu-latest
+ steps:
+ - name: Coveralls Finished
+ uses: coverallsapp/github-action@v2
+ with:
+ parallel-finished: true