File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ---
2+ name : Specs Rails 7.0
3+
4+ on :
5+ push :
6+ branches :
7+ - master
8+ pull_request :
9+ branches :
10+ - master
11+
12+ jobs :
13+ tests :
14+ runs-on : ubuntu-latest
15+
16+ strategy :
17+ matrix :
18+ ruby : ['2.7', '3.0']
19+ gemfile : ['rails70_activeadmin']
20+
21+ env :
22+ BUNDLE_GEMFILE : ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile
23+
24+ steps :
25+ - name : Checkout repository
26+ uses : actions/checkout@v2
27+
28+ - name : Set up Ruby
29+ uses : ruby/setup-ruby@v1
30+ with :
31+ ruby-version : ${{ matrix.ruby }}
32+ bundler-cache : true
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@v2
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 @@ -26,3 +26,9 @@ appraise 'rails61-activeadmin' do
2626 gem 'activeadmin'
2727 gem 'rails' , '~> 6.1.0'
2828end
29+
30+ appraise 'rails70-activeadmin' do
31+ gem 'activeadmin'
32+ gem 'rails' , '~> 7.0.0'
33+ gem 'sprockets-rails'
34+ end
Original file line number Diff line number Diff line change 1+ # This file was generated by Appraisal
2+
3+ source "https://rubygems.org"
4+
5+ gem "activeadmin"
6+ gem "rails", "~> 7.0.0"
7+ gem "sprockets-rails"
8+
9+ group :development, :test do
10+ gem "puma"
11+ gem "sassc"
12+ gem "sqlite3"
13+ gem "capybara"
14+ gem "cuprite"
15+ gem "rspec_junit_formatter"
16+ gem "rspec-rails"
17+ gem "fasterer"
18+ gem "rubocop"
19+ gem "rubocop-packaging"
20+ gem "rubocop-performance"
21+ gem "rubocop-rails"
22+ gem "rubocop-rspec"
23+ gem "pry-rails"
24+ end
25+
26+ gemspec path: "../"
You can’t perform that action at this time.
0 commit comments