mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-12-27 04:51:14 +00:00
Fix circle
This commit is contained in:
parent
4304104fc4
commit
eb08649732
4 changed files with 8 additions and 1 deletions
|
@ -93,7 +93,7 @@ jobs:
|
||||||
command: |
|
command: |
|
||||||
mkdir /tmp/test-results
|
mkdir /tmp/test-results
|
||||||
TESTFILES=$(circleci tests glob "spec/**/*_spec.rb" | circleci tests split --split-by=timings)
|
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:
|
- store_test_results:
|
||||||
path: /tmp/test-results
|
path: /tmp/test-results
|
||||||
- store_artifacts:
|
- store_artifacts:
|
||||||
|
|
|
@ -19,6 +19,7 @@ TEST_APP_PORT=3005
|
||||||
|
|
||||||
MYSQL_HOST=localhost
|
MYSQL_HOST=localhost
|
||||||
MYSQL_DATABASE=ensl_test
|
MYSQL_DATABASE=ensl_test
|
||||||
|
MYSQL_USER=ensl
|
||||||
MYSQL_USERNAME=ensl
|
MYSQL_USERNAME=ensl
|
||||||
MYSQL_PASSWORD=ensl
|
MYSQL_PASSWORD=ensl
|
||||||
MYSQL_ROOT_PASSWORD=ensl
|
MYSQL_ROOT_PASSWORD=ensl
|
||||||
|
|
3
Gemfile
3
Gemfile
|
@ -117,6 +117,9 @@ group :test do
|
||||||
# Database cleaner
|
# Database cleaner
|
||||||
gem 'database_cleaner-active_record'
|
gem 'database_cleaner-active_record'
|
||||||
gem 'database_cleaner-redis'
|
gem 'database_cleaner-redis'
|
||||||
|
|
||||||
|
# For circle ci
|
||||||
|
gem 'rspec_junit_formatter'
|
||||||
end
|
end
|
||||||
|
|
||||||
group :development, :test do
|
group :development, :test do
|
||||||
|
|
|
@ -353,6 +353,8 @@ GEM
|
||||||
retriable (3.1.2)
|
retriable (3.1.2)
|
||||||
rexml (3.2.4)
|
rexml (3.2.4)
|
||||||
rmagick (4.1.0)
|
rmagick (4.1.0)
|
||||||
|
rspec_junit_formatter (0.4.1)
|
||||||
|
rspec-core (>= 2, < 4, != 2.12.0)
|
||||||
rubocop (0.80.1)
|
rubocop (0.80.1)
|
||||||
jaro_winkler (~> 1.5.1)
|
jaro_winkler (~> 1.5.1)
|
||||||
parallel (~> 1.10)
|
parallel (~> 1.10)
|
||||||
|
@ -490,6 +492,7 @@ DEPENDENCIES
|
||||||
rspec-mocks!
|
rspec-mocks!
|
||||||
rspec-rails!
|
rspec-rails!
|
||||||
rspec-support!
|
rspec-support!
|
||||||
|
rspec_junit_formatter
|
||||||
rubocop
|
rubocop
|
||||||
sanitize
|
sanitize
|
||||||
sass-rails (~> 5.0.3)
|
sass-rails (~> 5.0.3)
|
||||||
|
|
Loading…
Reference in a new issue