Skip to content
7 changes: 3 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Workflow for Codecov example-python
on: [push, pull_request]
on: [push, pull_request, pull_request_target]
jobs:
run:
runs-on: ubuntu-latest
Expand All @@ -17,8 +17,7 @@ jobs:
- name: Run tests and collect coverage
run: pytest --cov app ${{ env.CODECOV_ATS_TESTS }}
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
uses: codecov/codecov-action@th/fix-pr-and-commit-fixes
with:
fail_ci_if_error: true
verbose: true
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
Loading