Skip to content

Commit a344534

Browse files
committed
ci(fix): Upload program lifecycle coverage
why: The stable tmux feature job executes native lifecycle tests but omits their coverage from the repository report. what: - Collect coverage XML from the program lifecycle tests - Upload it with the existing Codecov action and token - Preserve legacy jobs and coverage thresholds
1 parent bab730c commit a344534

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎.github/workflows/tests.yml‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,10 @@ jobs:
130130
run: |
131131
unset TMUX TMUX_PANE
132132
test "$(tmux -V)" = 'tmux 3.8'
133-
uv run pytest tests/test_program.py --reruns=0
133+
uv run pytest tests/test_program.py --reruns=0 --cov=./ --cov-report=xml
134+
- uses: codecov/codecov-action@v7
135+
with:
136+
token: ${{ secrets.CODECOV_TOKEN }}
134137

135138
release:
136139
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)