Skip to content

Commit

Permalink
Copy coverage output to mounted drive
Browse files Browse the repository at this point in the history
  • Loading branch information
robbibt authored Dec 19, 2023
1 parent e65d362 commit 70229b1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/run_tests
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
#!/bin/sh

# Run integration tests and generate code coverage
pytest --cov=intertidal --cov-report=xml tests/integration
pytest --cov=intertidal --cov-report=xml tests/integration

# Copy code coverage to artifacts directory so they are
# accessible outside docker container via mounted volume
cp coverage.xml /mnt/artifacts/

0 comments on commit 70229b1

Please sign in to comment.