ci: Run e2e tests in one stage
This commit is contained in:
parent
b1b3a23d1e
commit
56198e503b
|
@ -138,14 +138,12 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
- name: Setup test containers
|
- name: Setup test containers and run tests
|
||||||
run: |
|
run: |
|
||||||
cd e2e
|
cd e2e
|
||||||
docker-compose pull
|
docker-compose pull
|
||||||
docker-compose up -d
|
docker-compose up -d
|
||||||
docker-compose exec -T passbook bash -c "pip install -r /app/requirements-dev.txt"
|
docker-compose exec -T passbook bash -c "pip install -r /app/requirements-dev.txt"
|
||||||
- name: Run e2e tests
|
|
||||||
run: |
|
|
||||||
docker-compose exec -T passbook bash -c "./manage.py test e2e"
|
docker-compose exec -T passbook bash -c "./manage.py test e2e"
|
||||||
# Build
|
# Build
|
||||||
build-server:
|
build-server:
|
||||||
|
|
Reference in New Issue