Skip to content

Commit

Permalink
add fail-under to coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
timcallow committed Oct 25, 2024
1 parent 3cb77e6 commit 15beaa3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/cpu-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ jobs:
- name: Test mala
shell: 'bash -c "docker exec -i mala-cpu bash < {0}"'
run: MALA_DATA_REPO=$(pwd)/mala_data pytest --cov=mala -m "not examples" --disable-warnings
run: MALA_DATA_REPO=$(pwd)/mala_data pytest --cov=mala --cov-fail-under=60 -m "not examples" --disable-warnings

retag-docker-image-cpu:
needs: [cpu-tests, build-docker-image-cpu]
Expand Down

0 comments on commit 15beaa3

Please sign in to comment.