Skip to content

Commit 49f6a2c

Browse files
committed
Add Coveralls reporting to rspec Github Action
1 parent 010893a commit 49f6a2c

File tree

1 file changed

+22
-2
lines changed

1 file changed

+22
-2
lines changed

.github/workflows/rspec.yml

+22-2
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,28 @@ jobs:
2323
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile
2424
steps:
2525
- uses: actions/checkout@v4
26-
- uses: ruby/setup-ruby@v1
26+
27+
- name: Install Ruby
28+
uses: ruby/setup-ruby@v1
2729
with:
2830
ruby-version: ${{ matrix.ruby }}
2931
bundler-cache: true
30-
- run: bundle exec rake
32+
33+
- name: Run Specs
34+
run: bundle exec rake
35+
36+
- name: Coveralls Parallel
37+
uses: coverallsapp/github-action@v2
38+
with:
39+
flag-name: run-${{ join(matrix.*, '-') }}
40+
parallel: true
41+
42+
finish:
43+
needs: test
44+
if: ${{ always() }}
45+
runs-on: ubuntu-latest
46+
steps:
47+
- name: Coveralls Finished
48+
uses: coverallsapp/github-action@v2
49+
with:
50+
parallel-finished: true

0 commit comments

Comments
 (0)