Fix circle

This commit is contained in:
Ari Timonen 2020-03-24 23:58:47 +02:00
parent 4304104fc4
commit eb08649732
4 changed files with 8 additions and 1 deletions

View file

@ -93,7 +93,7 @@ jobs:
command: |
mkdir /tmp/test-results
TESTFILES=$(circleci tests glob "spec/**/*_spec.rb" | circleci tests split --split-by=timings)
bundle exec rspec $TESTFILES --profile 10 --format RspecJunitFormatter --out /tmp/test-results/rspec.xml --format progress
bundle exec rspec $TESTFILES --profile 10 -r rspec_junit_formatter --format RspecJunitFormatter --out /tmp/test-results/rspec.xml --format progress
- store_test_results:
path: /tmp/test-results
- store_artifacts:

View file

@ -19,6 +19,7 @@ TEST_APP_PORT=3005
MYSQL_HOST=localhost
MYSQL_DATABASE=ensl_test
MYSQL_USER=ensl
MYSQL_USERNAME=ensl
MYSQL_PASSWORD=ensl
MYSQL_ROOT_PASSWORD=ensl

View file

@ -117,6 +117,9 @@ group :test do
# Database cleaner
gem 'database_cleaner-active_record'
gem 'database_cleaner-redis'
# For circle ci
gem 'rspec_junit_formatter'
end
group :development, :test do

View file

@ -353,6 +353,8 @@ GEM
retriable (3.1.2)
rexml (3.2.4)
rmagick (4.1.0)
rspec_junit_formatter (0.4.1)
rspec-core (>= 2, < 4, != 2.12.0)
rubocop (0.80.1)
jaro_winkler (~> 1.5.1)
parallel (~> 1.10)
@ -490,6 +492,7 @@ DEPENDENCIES
rspec-mocks!
rspec-rails!
rspec-support!
rspec_junit_formatter
rubocop
sanitize
sass-rails (~> 5.0.3)