Skip to content
Merged
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
10 changes: 9 additions & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,17 @@ jobs:
if: env.HAS_CODECOV_TOKEN == 'true'
uses: codecov/codecov-action@e79a6962e0d4c0c17b229090214935d2e33f8354 # v6.0.1
with:
fail_ci_if_error: true
files: coverage.xml
token: ${{ secrets.CODECOV_TOKEN }}
- name: 🚀 Upload coverage report (tokenless)
if: env.HAS_CODECOV_TOKEN != 'true' && github.event_name == 'pull_request'
uses: codecov/codecov-action@e79a6962e0d4c0c17b229090214935d2e33f8354 # v6.0.1
with:
fail_ci_if_error: false
files: coverage.xml
- name: ℹ️ Skip Codecov upload (missing token)
if: env.HAS_CODECOV_TOKEN != 'true'
if: env.HAS_CODECOV_TOKEN != 'true' && github.event_name != 'pull_request'
run: echo "CODECOV_TOKEN is not set; skipping Codecov upload."
- name: SonarQube Cloud Scan
if: env.HAS_SONAR_TOKEN == 'true' && (github.event_name != 'pull_request' || !github.event.pull_request.head.repo.fork)
Expand Down