File tree Expand file tree Collapse file tree 1 file changed +64
-0
lines changed
Expand file tree Collapse file tree 1 file changed +64
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Coverage
2+
3+ on :
4+ pull_request :
5+ branches :
6+ - development
7+ paths-ignore :
8+ - ' README.md'
9+ push :
10+ branches :
11+ - development
12+ paths-ignore :
13+ - ' README.md'
14+
15+ jobs :
16+ coverage :
17+ name : Coverage
18+ # Homemade support for [ci skip] no longer needed
19+ # https://github.blog/changelog/2021-02-08-github-actions-skip-pull-request-and-push-workflows-with-skip-ci/
20+ # if: "contains(github.event.commits[0].message, '[ci skip]') == false"
21+ strategy :
22+ fail-fast : false
23+ matrix :
24+ ruby :
25+ - " 3.3"
26+ gemfile :
27+ - gemfiles/rails_7_0.gemfile
28+ - gemfiles/rails_7_1.gemfile
29+ - gemfiles/rails_7_2.gemfile
30+ - gemfiles/rails_8_0.gemfile
31+ env :
32+ BUNDLE_GEMFILE : ${{ matrix.gemfile }}
33+ COVERALLS : true
34+ runs-on : ${{ matrix.os }}
35+ steps :
36+ - name : Checkout
37+ uses : actions/checkout@v4
38+
39+ - name : Setup Ruby
40+ uses : ruby/setup-ruby@v1
41+ with :
42+ ruby-version : ${{ matrix.ruby }}
43+ bundler-cache : true
44+
45+ - name : Collect coverage info
46+ run : bundle exec rake spec
47+
48+ - name : Coveralls Parallel
49+ uses : coverallsapp/github-action@master
50+ continue-on-error : true
51+ with :
52+ github-token : ${{ secrets.GITHUB_TOKEN }}
53+ flag-name : run-${{ matrix.ruby }}-${{ matrix.gemfile }}
54+ parallel : true
55+
56+ finish :
57+ needs : coverage
58+ runs-on : ubuntu-latest
59+ steps :
60+ - name : Send to Coveralls
61+ uses : coverallsapp/github-action@master
62+ with :
63+ github-token : ${{ secrets.GITHUB_TOKEN }}
64+ parallel-finished : true
You can’t perform that action at this time.
0 commit comments