Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,9 @@ specs:
when: always
paths:
- coverage/
- rspec.xml
reports:
junit: rspec.xml
script:
- *bundle_install
- *yarn_install
Expand All @@ -152,7 +155,7 @@ specs:
- "echo -e \"test:\n redis_url: 'redis://redis:6379/0'\n redis_throttle_url: 'redis://redis:6379/1'\n redis_irs_attempt_api_url: 'redis://redis:6379/2'\" > config/application.yml"
- bundle exec rake db:create db:migrate --trace
- bundle exec rake db:seed
- bundle exec rake knapsack:rspec
- bundle exec rake knapsack:rspec["--format documentation --format RspecJunitFormatter --out rspec.xml"]

lint:
stage: test
Expand Down
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ group :test do
gem 'rack-test', '>= 1.1.0'
gem 'rails-controller-testing', '>= 1.0.4'
gem 'rspec-retry'
gem 'rspec_junit_formatter'
gem 'shoulda-matchers', '~> 4.0', require: false
gem 'webdrivers', '~> 5.2.0'
gem 'webmock'
Expand Down
3 changes: 3 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -575,6 +575,8 @@ GEM
rspec-retry (0.6.2)
rspec-core (> 3.3)
rspec-support (3.11.0)
rspec_junit_formatter (0.6.0)
rspec-core (>= 2, < 4, != 2.12.0)
rubocop (1.29.1)
parallel (~> 1.10)
parser (>= 3.1.0.0)
Expand Down Expand Up @@ -806,6 +808,7 @@ DEPENDENCIES
rqrcode
rspec-rails (= 6.0.0.rc1)
rspec-retry
rspec_junit_formatter
rubocop (~> 1.29.1)
rubocop-performance (~> 1.14.0)
rubocop-rails (>= 2.5.2)
Expand Down