Skip to content

Commit

Permalink
.github/workflows/test.yml: run tests inside the arche-ingest docker …
Browse files Browse the repository at this point in the history
…container
  • Loading branch information
zozlak committed Jun 6, 2024
1 parent 9a25aa7 commit 3e40337
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ jobs:
run: composer update
- name: test
run: |
vendor/bin/phpunit
docker run -t --rm -v `pwd`:/mnt --entrypoint /mnt/vendor/bin/phpunit acdhch/arche-ingest
RET=1
mkdir -p tests/reports && bin/arche-filechecker --tmpDir /tmp tests/data/ tests/reports/ || RET=0
docker run -t --rm -v `pwd`:/mnt --entrypoint /mnt/bin/arche-filechecker acdhch/arche-ingest /mnt/tests/data/ /mnt/tests/reports/ || RET=0
exit $RET

0 comments on commit 3e40337

Please sign in to comment.