diff --git a/.github/workflows/unit_tests.yaml b/.github/workflows/unit_tests.yaml index 36df42259..b0aec73b6 100644 --- a/.github/workflows/unit_tests.yaml +++ b/.github/workflows/unit_tests.yaml @@ -19,4 +19,9 @@ jobs: - name: Install devel dependencies run: pdm install --dev - name: Run unit tests - run: pdm run python -m pytest tests/unit --cov=ols --cov=runner --cov-report term-missing + run: pdm run python -m pytest tests/unit --cov=ols --cov=runner --cov-report xml + + - name: Upload coverage reports to Codecov with GitHub Action (with token = main repo) + uses: codecov/codecov-action@v4 + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}