tests update
This commit is contained in:
parent
824e98b996
commit
2e0d0da4b6
@ -40,8 +40,6 @@ before_script:
|
|||||||
- docker-compose -f docker-compose-ci.yml up --build -d
|
- docker-compose -f docker-compose-ci.yml up --build -d
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- psql -c 'create database mpwo_test;' -U postgres
|
|
||||||
- docker-compose -f docker-compose-ci.yml run mpwo-api flask db upgrade
|
|
||||||
- sh test.sh
|
- sh test.sh
|
||||||
|
|
||||||
after_script:
|
after_script:
|
||||||
|
2
test.sh
2
test.sh
@ -11,6 +11,8 @@ inspect() {
|
|||||||
docker-compose -f docker-compose-ci.yml run mpwo-api py.test mpwo_api
|
docker-compose -f docker-compose-ci.yml run mpwo-api py.test mpwo_api
|
||||||
inspect $? api
|
inspect $? api
|
||||||
|
|
||||||
|
docker-compose -f docker-compose-ci.yml run mpwo-api flask db upgrade
|
||||||
|
|
||||||
testcafe chrome mpwo_client/e2e
|
testcafe chrome mpwo_client/e2e
|
||||||
inspect $? e2e
|
inspect $? e2e
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user