Fix circle

This commit is contained in:
Ari Timonen 2020-03-25 00:48:50 +02:00
parent 6d142ea799
commit 62a49a0072
3 changed files with 4 additions and 4 deletions

View file

@ -102,13 +102,13 @@ jobs:
name: Database setup
command: bundle exec rails db:schema:load --trace
# Run rspec in parallel
# ./cc-test-reporter before-build
# ./cc-test-reporter after-build --coverage-input-type clover --exit-code $?
- run:
command: |
mkdir /tmp/test-results
# ./cc-test-reporter before-build
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
# ./cc-test-reporter after-build --coverage-input-type clover --exit-code $?
- store_test_results:
path: /tmp/test-results
- store_artifacts:

View file

@ -17,7 +17,7 @@ SELENIUM_HOST=selenium
TEST_APP_HOST=localhost
TEST_APP_PORT=3005
MYSQL_HOST=localhost
MYSQL_HOST=db
MYSQL_DATABASE=ensl_test
MYSQL_USER=ensl
MYSQL_USERNAME=ensl

View file

@ -6,7 +6,7 @@ services:
tty: true
stdin_open: true
# Debug
# command: /bin/bash
command: /bin/bash
container_name: ensl_dev
build:
context: ./