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
6d142ea799
commit
62a49a0072
3 changed files with 4 additions and 4 deletions
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -6,7 +6,7 @@ services:
|
|||
tty: true
|
||||
stdin_open: true
|
||||
# Debug
|
||||
# command: /bin/bash
|
||||
command: /bin/bash
|
||||
container_name: ensl_dev
|
||||
build:
|
||||
context: ./
|
||||
|
|
Loading…
Reference in a new issue