From 15beaa363d30a2a7560f9bb24f90233ecaa964d3 Mon Sep 17 00:00:00 2001 From: Tim Callow Date: Fri, 25 Oct 2024 11:33:34 +0200 Subject: [PATCH] add fail-under to coverage --- .github/workflows/cpu-tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cpu-tests.yml b/.github/workflows/cpu-tests.yml index 2485e53e9..f0c11f6e2 100644 --- a/.github/workflows/cpu-tests.yml +++ b/.github/workflows/cpu-tests.yml @@ -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]