Skip to content

Commit

Permalink
ci: fix integration tests with new path (#200)
Browse files Browse the repository at this point in the history
Auto-created
  • Loading branch information
MartinBernstorff authored Nov 18, 2023
1 parent c2497ee commit b734f9e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/docker_integration_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,6 @@ jobs:
- name: Run integration test
shell: bash
run: |
chmod +x ./tests/integration_test.sh
./tests/integration_test.sh
TEST_PATH=./personal_mnemonic_medium/tests/integration_test.sh
chmod +x $TEST_PATH
$TEST_PATH
3 changes: 2 additions & 1 deletion personal_mnemonic_medium/tests/integration_test.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
set -e
docker build . -t personal-mnemonic-medium:latest -f Dockerfile
docker volume create ankidecks

Expand All @@ -12,7 +13,7 @@ docker run -itd \
-v $OUTPUT_DIR:/output \
--restart unless-stopped \
personal-mnemonic-medium \
python application/main.py /input/ $OUTPUT_DIR \
python personal_mnemonic_medium/cli.py /input/ $OUTPUT_DIR \
--watch \
--no-use-anki-connect

Expand Down

0 comments on commit b734f9e

Please sign in to comment.