ci: Run e2e tests in one stage

This commit is contained in:
Jens Langhammer 2020-06-08 10:50:31 +02:00
parent b1b3a23d1e
commit 56198e503b
1 changed files with 1 additions and 3 deletions

View File

@ -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: