mirror of
https://github.com/ENSL/ensl.org.git
synced 2025-01-14 22:01:28 +00:00
Fix circle
This commit is contained in:
parent
6d142ea799
commit
62a49a0072
3 changed files with 4 additions and 4 deletions
|
@ -102,13 +102,13 @@ jobs:
|
||||||
name: Database setup
|
name: Database setup
|
||||||
command: bundle exec rails db:schema:load --trace
|
command: bundle exec rails db:schema:load --trace
|
||||||
# Run rspec in parallel
|
# Run rspec in parallel
|
||||||
|
# ./cc-test-reporter before-build
|
||||||
|
# ./cc-test-reporter after-build --coverage-input-type clover --exit-code $?
|
||||||
- run:
|
- run:
|
||||||
command: |
|
command: |
|
||||||
mkdir /tmp/test-results
|
mkdir /tmp/test-results
|
||||||
# ./cc-test-reporter before-build
|
|
||||||
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 -r rspec_junit_formatter --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
|
||||||
# ./cc-test-reporter after-build --coverage-input-type clover --exit-code $?
|
|
||||||
- store_test_results:
|
- store_test_results:
|
||||||
path: /tmp/test-results
|
path: /tmp/test-results
|
||||||
- store_artifacts:
|
- store_artifacts:
|
||||||
|
|
|
@ -17,7 +17,7 @@ SELENIUM_HOST=selenium
|
||||||
TEST_APP_HOST=localhost
|
TEST_APP_HOST=localhost
|
||||||
TEST_APP_PORT=3005
|
TEST_APP_PORT=3005
|
||||||
|
|
||||||
MYSQL_HOST=localhost
|
MYSQL_HOST=db
|
||||||
MYSQL_DATABASE=ensl_test
|
MYSQL_DATABASE=ensl_test
|
||||||
MYSQL_USER=ensl
|
MYSQL_USER=ensl
|
||||||
MYSQL_USERNAME=ensl
|
MYSQL_USERNAME=ensl
|
||||||
|
|
|
@ -6,7 +6,7 @@ services:
|
||||||
tty: true
|
tty: true
|
||||||
stdin_open: true
|
stdin_open: true
|
||||||
# Debug
|
# Debug
|
||||||
# command: /bin/bash
|
command: /bin/bash
|
||||||
container_name: ensl_dev
|
container_name: ensl_dev
|
||||||
build:
|
build:
|
||||||
context: ./
|
context: ./
|
||||||
|
|
Loading…
Reference in a new issue