File tree Expand file tree Collapse file tree 3 files changed +50
-7
lines changed
Expand file tree Collapse file tree 3 files changed +50
-7
lines changed Original file line number Diff line number Diff line change 1- * @ dawenster
1+ * @ aguilinger
2+ * @ neurosnap
Original file line number Diff line number Diff line change 1+ name : Tests
2+
3+ on :
4+ pull_request :
5+ branches :
6+ - main
7+ - master
8+ push :
9+ branches :
10+ - main
11+ - master
12+
13+ jobs :
14+
15+ test :
16+ name : Test
17+ runs-on : ubuntu-20.04
18+ strategy :
19+ fail-fast : false
20+ matrix :
21+ RUBY_VERSION : ["2.5", "2.6", "3.1"]
22+
23+ steps :
24+ - name : Check out code
25+ uses : actions/checkout@v4
26+
27+ - name : Install Ruby ${{ matrix.RUBY_VERSION }}
28+ uses : ruby/setup-ruby@v1
29+ with :
30+ ruby-version : ${{ matrix.RUBY_VERSION }}
31+ bundler-cache : true
32+
33+ - name : Run Tests
34+ run : bundle exec rake
35+
36+ results :
37+ if : ${{ always() }}
38+ runs-on : ubuntu-latest
39+ name : Final Results
40+ needs : [test]
41+ steps :
42+ - run : exit 1
43+ # see https://stackoverflow.com/a/67532120/4907315
44+ if : >-
45+ ${{
46+ contains(needs.*.result, 'failure')
47+ || contains(needs.*.result, 'cancelled')
48+ }}
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments