.github/workflows/test.yml in ruby-saml-1.14.0 vs .github/workflows/test.yml in ruby-saml-1.15.0
- old
+ new
@@ -6,12 +6,12 @@
test:
name: Unit test
strategy:
fail-fast: false
matrix:
- os: [ubuntu-latest, macos-latest]
- ruby-version: [2.1.9, 2.2.10, 2.3.8, 2.4.6, 2.5.8, 2.6.6, 2.7.2, 3.0.1, '3.1', jruby-9.1.17.0, jruby-9.2.17.0, truffleruby]
+ os: [ubuntu-20.04, macos-latest]
+ ruby-version: [2.1.9, 2.2.10, 2.3.8, 2.4.6, 2.5.8, 2.6.6, 2.7.2, 3.0.1, 3.1, 3.2, jruby-9.1.17.0, jruby-9.2.17.0, jruby-9.3.2.0, jruby-9.4.0.0, truffleruby]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Set up Ruby ${{ matrix.ruby-version }}
uses: ruby/setup-ruby@v1
@@ -21,5 +21,23 @@
- name: Install dependencies
run: bundle install
- name: Run tests
run: bundle exec rake
+
+ - name: Coveralls
+ uses: coverallsapp/github-action@master
+ with:
+ github-token: ${{ secrets.github_token }}
+ parallel: true
+ flag-name: run-${{ matrix.ruby-version }}
+
+ finish:
+ needs: test
+ runs-on: ubuntu-latest
+ steps:
+ - name: Coveralls Finished
+ uses: coverallsapp/github-action@master
+ with:
+ github-token: ${{ secrets.github_token }}
+ flag-name: run-${{ matrix.ruby-version }}
+ parallel-finished: true