From 62f09add4c8f859541dcb95b00a7fde739068731 Mon Sep 17 00:00:00 2001 From: slecleach Date: Sat, 21 Jun 2025 21:19:28 -0400 Subject: [PATCH 1/3] codecov --- .github/workflows/test.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e0802194..c68d3877 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -29,5 +29,11 @@ jobs: with: python-version: ${{ matrix.python-version }} - - name: Test with pytest - run: pixi run -e dev pytest -rsx + - name: Run tests with coverage + run: pixi run -e dev pytest --cov --junitxml=junit.xml -o junit_family=legacy -rsx + + - name: Upload test results to Codecov + if: ${{ !cancelled() }} + uses: codecov/test-results-action@v1 + with: + token: ${{ secrets.CODECOV_TOKEN }} From 44e21b73c457fe4bf848e6e6563ac86cea318756 Mon Sep 17 00:00:00 2001 From: slecleach Date: Sat, 21 Jun 2025 21:28:11 -0400 Subject: [PATCH 2/3] upload cov --- .github/workflows/test.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c68d3877..d711b7b1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -30,10 +30,12 @@ jobs: python-version: ${{ matrix.python-version }} - name: Run tests with coverage - run: pixi run -e dev pytest --cov --junitxml=junit.xml -o junit_family=legacy -rsx + run: > + pixi run -e dev pytest --cov=judo --cov-branch + --cov-report=xml -rsx - - name: Upload test results to Codecov + - name: Upload coverage reports to Codecov if: ${{ !cancelled() }} - uses: codecov/test-results-action@v1 + uses: codecov/codecov-action@v5 with: token: ${{ secrets.CODECOV_TOKEN }} From 047fc7bf144df542aca7a3c16d07559e1263b296 Mon Sep 17 00:00:00 2001 From: slecleach Date: Sat, 21 Jun 2025 21:30:43 -0400 Subject: [PATCH 3/3] upload cov --- .github/workflows/test.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d711b7b1..b434d4ff 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -31,8 +31,7 @@ jobs: - name: Run tests with coverage run: > - pixi run -e dev pytest --cov=judo --cov-branch - --cov-report=xml -rsx + pixi run -e dev pytest --cov=judo --cov-branch --cov-report=xml -rsx - name: Upload coverage reports to Codecov if: ${{ !cancelled() }}