.github/workflows/CI.yml in frise-0.6.0 vs .github/workflows/CI.yml in frise-0.6.1
- old
+ new
@@ -7,14 +7,19 @@
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
- ruby: [ 2.6, 2.7, 3 ]
+ ruby:
+ - '2.6'
+ - '2.7'
+ - '3.0'
+ - '3.1'
+ - '3.2'
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
@@ -22,19 +27,24 @@
run: bundle install
- name: Run tests
run: bundle exec rake
- name: Coveralls Parallel
uses: coverallsapp/github-action@master
+ env:
+ # We're concatenating the run ID with the run attempt so that each run has a different ID for Coveralls.
+ COVERALLS_SERVICE_JOB_ID: '${{ github.run_id }} ${{ github.run_attempt }}'
with:
- github-token: ${{ secrets.github_token }}
flag-name: ${{ matrix.ruby }}
parallel: true
finish:
needs: test
runs-on: ubuntu-latest
steps:
- name: Coveralls Finished
uses: coverallsapp/github-action@master
+ env:
+ # We're concatenating the run ID with the run attempt so that each run has a different ID for Coveralls.
+ COVERALLS_SERVICE_JOB_ID: '${{ github.run_id }} ${{ github.run_attempt }}'
with:
- github-token: ${{ secrets.github_token }}
parallel-finished: true
+ carryforward: '2.6,2.7,3.0,3.1,3.2'