Skip to content
Merged
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
13 changes: 12 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,21 @@ jobs:
UV_PYTHON: ${{ matrix.python-version }}

- name: Run tests
run: make test
run: make test-coverage
env:
UV_PYTHON: ${{ matrix.python-version }}

# Consumed by the weekly coverage report, which reads the artifact from
# the newest successful run on main. Name is per-matrix-version because
# upload-artifact@v4 requires unique names within a run.
- name: Upload coverage report
uses: actions/upload-artifact@v4
if: always()
with:
name: coverage-${{ matrix.python-version }}
path: coverage.xml
if-no-files-found: error

e2e:
if: github.event_name != 'schedule' && github.repository == 'runpod/runpod-python'
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ test:
uv run pytest

test-coverage:
uv run pytest --cov=runpod --cov-report=term-missing
uv run pytest --cov=runpod --cov-report=term-missing --cov-report=xml

# --- Build ---
build:
Expand Down
Loading