File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ name : Specs Rails 7.0
3+
4+ on :
5+ pull_request :
6+ branches : [master]
7+ push :
8+ branches : [master]
9+
10+ jobs :
11+ test :
12+ runs-on : ubuntu-latest
13+
14+ strategy :
15+ matrix :
16+ ruby : ['2.7', '3.0']
17+ gemfile : ['rails70_activeadmin']
18+
19+ env :
20+ BUNDLE_GEMFILE : ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile
21+
22+ steps :
23+ - name : Checkout repository
24+ uses : actions/checkout@v2
25+
26+ - name : Set up Ruby
27+ uses : ruby/setup-ruby@v1
28+ with :
29+ ruby-version : ${{ matrix.ruby }}
30+ bundler-cache : true
31+
32+ - name : Run tests
33+ run : bundle exec rspec --profile
34+
35+ - name : On failure, archive screenshots as artifacts
36+ uses : actions/upload-artifact@v2
37+ if : failure()
38+ with :
39+ name : test-failed-screenshots
40+ path : spec/dummy/tmp/screenshots
You can’t perform that action at this time.
0 commit comments