From 7cd30cb195b513e5c92dc828f4affa77da928362 Mon Sep 17 00:00:00 2001 From: "Craig M. Hamel" Date: Mon, 20 Jan 2025 18:57:02 -0500 Subject: [PATCH] tweaking codecov ci. --- .github/workflows/CI.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 625c11c..5d371fc 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -25,10 +25,12 @@ jobs: python -m venv venv . venv/bin/activate pip install .[cpu,test,viz] - JAX_ENABLE_X64=true pytest test --cov=pancax + JAX_ENABLE_X64=true pytest test --cov=pancax --cov-report=xml --cov-report=term - name: codecov uses: codecov/codecov-action@v4 with: - files: .coverage + files: ./coverage.xml + flags: unittests + fail_ci_if_error: true token: ${{ secrets.CODECOV_TOKEN }} \ No newline at end of file