Skip to content
Closed
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions .github/workflows/_scheduled-test-daily.yml
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,7 @@ jobs:
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: aignostics/python-sdk
flags: ${{ inputs.platform_environment }}

- name: Upload test results to Codecov
if: ${{ !cancelled() && (env.GITHUB_WORKFLOW_RUNTIME != 'ACT') }}
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,9 @@ jobs:
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: aignostics/python-sdk
# No flag: unflagged uploads feed the "default" project check.
# Codecov's default check excludes flagged uploads, making PR vs
# main comparison symmetric (both sides see only this CI upload).

- name: Upload test results to Codecov
if: |
Expand Down
20 changes: 19 additions & 1 deletion codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,27 @@ coverage:
status:
project:
default:
target: 70%
# PRs upload without a flag → only unflagged CI uploads count here.
# Scheduled test uploads use flags (staging/production) and are excluded
# from this check, making PR vs main comparison symmetric (~65% each).
target: auto
threshold: 2%
informational: false
scheduled_environments:
flags:
- staging
- production
informational: true
if_not_found: success
patch:
default:
target: 75%
informational: false

flags:
staging:
carryforward: false
if_not_found: success
production:
carryforward: false
if_not_found: success
Loading