Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
benoit74 committed Sep 26, 2024
1 parent 60faf9e commit db43aa6
Show file tree
Hide file tree
Showing 3 changed files with 445 additions and 57 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/DailyTests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ jobs:
path: output/tests_eng_test-website.zim
retention-days: 30

- name: build selenium test image
run: docker build -t local-selenium tests-daily
- name: build tests-daily Docker image
run: docker build -t local-tests-daily tests-daily

- name: run integration test suite
env:
SKIP_YOUTUBE_TEST: ${{ vars.SKIP_YOUTUBE_TEST }}
run: docker run -v $PWD/tests-daily/daily.py:/app/daily.py -v $PWD/output:/output local-selenium bash -c "cd /app && pytest -v --log-level=INFO --log-format='%(levelname)s - %(message)s' daily.py"
run: docker run -e SKIP_YOUTUBE_TEST=$SKIP_YOUTUBE_TEST -v $PWD/tests-daily/daily.py:/app/daily.py -v $PWD/output:/output local-tests-daily bash -c "cd /app && pytest -v --log-level=INFO --log-format='%(levelname)s - %(message)s' daily.py"
Loading

0 comments on commit db43aa6

Please sign in to comment.