diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b90dcad..2ae0b23 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -47,7 +47,7 @@ jobs: - name: Run tests with pytest run: | - pytest --cov=meshcore_hub --cov-report=xml --cov-report=term-missing + pytest --cov=meshcore_hub --cov-report=xml --cov-report=term-missing --junitxml=junit.xml -o junit_family=legacy - name: Upload coverage to Codecov uses: codecov/codecov-action@v5 @@ -58,6 +58,12 @@ jobs: verbose: true token: ${{ secrets.CODECOV_TOKEN }} + - name: Upload test results to Codecov + uses: codecov/test-results-action@v1 + if: ${{ !cancelled() }} + with: + token: ${{ secrets.CODECOV_TOKEN }} + build: name: Build Package runs-on: ubuntu-latest