This repository was archived by the owner on May 18, 2025. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22name : Linters
33
44on :
5- push :
6- branches :
7- - master
85 pull_request :
6+ branches : [master]
7+ push :
8+ branches : [master]
99
1010jobs :
1111 reviewdog :
12- name : reviewdog
12+ name : Reviewdog
1313 runs-on : ubuntu-latest
1414
15+ env :
16+ RAILS_VERSION : 7.0
17+
1518 steps :
16- - name : Check out code
17- uses : actions/checkout@v2
19+ - name : Checkout repository
20+ uses : actions/checkout@v4
1821
1922 - name : Set up Ruby
2023 uses : ruby/setup-ruby@v1
2124 with :
22- ruby-version : ' 2.7 '
23- bundler-cache : true # runs 'bundle install' and caches installed gems automatically
25+ ruby-version : 3.0
26+ bundler-cache : true
2427
25- - uses : reviewdog/action-setup@v1
28+ - name : Set up Reviewdog
29+ uses : reviewdog/action-setup@v1
2630 with :
2731 reviewdog_version : latest
2832
29- - name : Run reviewdog
33+ - name : Run Reviewdog
3034 env :
3135 REVIEWDOG_GITHUB_API_TOKEN : ${{ secrets.GITHUB_TOKEN }}
3236 run : |
Original file line number Diff line number Diff line change 11---
2- name : Specs Rails 6.1
2+ name : Specs Rails 6.1 with ActiveAdmin 2.9
33
44on :
5- push :
6- branches : [master]
75 pull_request :
86 branches : [master]
7+ push :
8+ branches : [master]
99
1010jobs :
11- tests :
11+ test :
1212 runs-on : ubuntu-latest
1313
1414 strategy :
1515 matrix :
16- ruby : ['2.6', '2.7', '3.0']
17- gemfile : ['rails61_activeadmin29', 'rails61_activeadmin']
16+ ruby : ['3.0']
1817
1918 env :
20- BUNDLE_GEMFILE : ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile
19+ RAILS_VERSION : 6.0
20+ ACTIVEADMIN_VERSION : 2.9.0
2121
2222 steps :
2323 - name : Checkout repository
2929 ruby-version : ${{ matrix.ruby }}
3030 bundler-cache : true
3131
32+ - name : Database setup
33+ run : bin/rails db:create db:migrate db:test:prepare
34+
3235 - name : Run tests
3336 run : bundle exec rspec --profile
3437
Original file line number Diff line number Diff line change 22name : Specs Rails 7.0
33
44on :
5- push :
6- branches : [master]
75 pull_request :
86 branches : [master]
7+ push :
8+ branches : [master]
99
1010jobs :
11- tests :
11+ test :
1212 runs-on : ubuntu-latest
1313
1414 strategy :
1515 matrix :
16- ruby : ['2.7', '3.0']
17- gemfile : ['rails70_activeadmin']
16+ ruby : ['3.0', '3.2']
1817
1918 env :
20- BUNDLE_GEMFILE : ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile
19+ RAILS_VERSION : 7.0
2120
2221 steps :
2322 - name : Checkout repository
2928 ruby-version : ${{ matrix.ruby }}
3029 bundler-cache : true
3130
31+ - name : Database setup
32+ run : bin/rails db:create db:migrate db:test:prepare
33+
3234 - name : Run tests
3335 run : bundle exec rspec --profile
3436
Original file line number Diff line number Diff line change 11---
2- name : Specs Rails 6.0
2+ name : Specs Rails 7.1
33
44on :
5- push :
6- branches : [master]
75 pull_request :
86 branches : [master]
7+ push :
8+ branches : [master]
99
1010jobs :
11- tests :
11+ test :
1212 runs-on : ubuntu-latest
1313
1414 strategy :
1515 matrix :
16- ruby : ['2.6', '2.7']
17- gemfile : ['rails60_activeadmin22', 'rails60_activeadmin']
16+ ruby : ['3.2', '3.4']
1817
1918 env :
20- BUNDLE_GEMFILE : ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile
19+ RAILS_VERSION : 7.1
2120
2221 steps :
2322 - name : Checkout repository
2928 ruby-version : ${{ matrix.ruby }}
3029 bundler-cache : true
3130
31+ - name : Database setup
32+ run : bin/rails db:create db:migrate db:test:prepare
33+
3234 - name : Run tests
3335 run : bundle exec rspec --profile
3436
Original file line number Diff line number Diff line change 1+ ---
2+ name : Specs Rails 7.2
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 : ['3.2', '3.4']
17+
18+ env :
19+ RAILS_VERSION : 7.2
20+
21+ steps :
22+ - name : Checkout repository
23+ uses : actions/checkout@v4
24+
25+ - name : Set up Ruby
26+ uses : ruby/setup-ruby@v1
27+ with :
28+ ruby-version : ${{ matrix.ruby }}
29+ bundler-cache : true
30+
31+ - name : Database setup
32+ run : bin/rails db:create db:migrate db:test:prepare
33+
34+ - name : Run tests
35+ run : bundle exec rspec --profile
36+
37+ - name : On failure, archive screenshots as artifacts
38+ uses : actions/upload-artifact@v4
39+ if : failure()
40+ with :
41+ name : test-failed-screenshots
42+ path : spec/dummy/tmp/screenshots
Original file line number Diff line number Diff line change 1+ ---
2+ name : Specs Rails 8.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 : ['3.2', '3.4']
17+
18+ env :
19+ RAILS_VERSION : 8.0
20+
21+ steps :
22+ - name : Checkout repository
23+ uses : actions/checkout@v4
24+
25+ - name : Set up Ruby
26+ uses : ruby/setup-ruby@v1
27+ with :
28+ ruby-version : ${{ matrix.ruby }}
29+ bundler-cache : true
30+
31+ - name : Database setup
32+ run : bin/rails db:create db:migrate db:test:prepare
33+
34+ - name : Run tests
35+ run : bundle exec rspec --profile
36+
37+ - name : On failure, archive screenshots as artifacts
38+ uses : actions/upload-artifact@v4
39+ if : failure()
40+ with :
41+ name : test-failed-screenshots
42+ path : spec/dummy/tmp/screenshots
You can’t perform that action at this time.
0 commit comments