Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 2 additions & 17 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]
jobs:
run:
runs-on: ubuntu-latest
Expand All @@ -16,11 +16,6 @@ jobs:
run: pip install -r requirements.txt
- name: Run tests and collect coverage
run: pytest --cov app --junitxml=junit.xml -o junit_family=legacy
- name: Upload test results to Codecov
if: ${{ !cancelled() }}
uses: codecov/test-results-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
- name: Upload coverage to Codecov (arg token)
uses: codecov/codecov-action@main
with:
Expand All @@ -30,18 +25,8 @@ jobs:
- name: Upload coverage to Codecov (env token)
uses: codecov/codecov-action@main
with:
pr: 328
fail_ci_if_error: true
verbose: true
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
- name: Upload coverage to Codecov (no token)
uses: codecov/codecov-action@main
with:
fail_ci_if_error: true
verbose: true
- name: Upload coverage to Codecov (oidc)
uses: codecov/codecov-action@main
with:
fail_ci_if_error: true
use_oidc: true
verbose: true
Loading