diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index 5d12791b5..bb010e2cd 100755 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -29,3 +29,8 @@ jobs: coverage run -m --source=src pytest -v tests/unit_test.py coverage=$(coverage report -m | tail -1 | tail -c 4 | head -c 2) if (( $coverage < 90 )); then echo "Coverage failed at ${coverage}%"; exit 1; else echo "Coverage passed, ${coverage}%"; fi + continue-on-error: true + - name: Upload to Codecov + uses: codecov/codecov-action@v4 + with: + token: ${{ secrets.CODECOV_TOKEN }}