Skip to content

Commit

Permalink
Merge pull request #662 from ChanceM/fix/e2e-tests
Browse files Browse the repository at this point in the history
Migrate to Compose V2
  • Loading branch information
CGBassPlayer authored Aug 11, 2024
2 parents f1405e6 + c656ba9 commit d774b85
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,20 @@ jobs:
- name: Checkout
uses: actions/checkout@v2

# using docker-compose, so we can re-use local Dockerfiles
# using docker compose, so we can re-use local Dockerfiles
- name: starting up containers
working-directory: ./test/
env:
# https://stackoverflow.com/a/52192327
DOCKER_BUILDKIT: 1
# https://stackoverflow.com/a/69500575
BUILDKIT_PROGRESS: plain
run: docker-compose up -d --build
run: docker compose up -d --build

- name: Run your tests
working-directory: ./test/
# https://github.com/actions/runner/issues/241#issuecomment-577360161
run: script -e -c "docker-compose exec testing pytest -m 'not periodic' --base-url http://jb-com --junitxml report.xml"
run: script -e -c "docker compose exec testing pytest -m 'not periodic' --base-url http://jb-com --junitxml report.xml"

- name: Save screenshots
uses: actions/upload-artifact@v2
Expand Down

0 comments on commit d774b85

Please sign in to comment.