update test step on ci
This commit is contained in:
parent
03b2fe4f65
commit
69bcda043d
@ -30,7 +30,6 @@ before_script:
|
|||||||
- export DATABASE_TEST_URL=postgres://postgres:@localhost:5432/fittrackee_test
|
- export DATABASE_TEST_URL=postgres://postgres:@localhost:5432/fittrackee_test
|
||||||
- export APP_SETTINGS=fittrackee_api.config.TestingConfig
|
- export APP_SETTINGS=fittrackee_api.config.TestingConfig
|
||||||
- export REACT_APP_API_URL=http://127.0.0.1
|
- export REACT_APP_API_URL=http://127.0.0.1
|
||||||
- export REACT_APP_ALLOW_REGISTRATION=true
|
|
||||||
- export NODE_ENV=development
|
- export NODE_ENV=development
|
||||||
- export TEST_URL=http://127.0.0.1
|
- export TEST_URL=http://127.0.0.1
|
||||||
- export DISPLAY=:99.0
|
- export DISPLAY=:99.0
|
||||||
|
1
test.sh
1
test.sh
@ -13,6 +13,7 @@ inspect $? api
|
|||||||
|
|
||||||
docker-compose -f docker-compose-ci.yml run fittrackee-api flask db upgrade
|
docker-compose -f docker-compose-ci.yml run fittrackee-api flask db upgrade
|
||||||
docker-compose -f docker-compose-ci.yml run fittrackee-api flask initdata
|
docker-compose -f docker-compose-ci.yml run fittrackee-api flask initdata
|
||||||
|
docker-compose -f docker-compose-ci.yml restart fittrackee-api
|
||||||
|
|
||||||
testcafe chrome fittrackee_client/e2e -e
|
testcafe chrome fittrackee_client/e2e -e
|
||||||
inspect $? e2e
|
inspect $? e2e
|
||||||
|
Loading…
Reference in New Issue
Block a user