Skip to content

Skip artifact upload #16

Skip artifact upload

Skip artifact upload #16

Workflow file for this run

# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
name: Coverage Report
on:
push:
jobs:
coverage:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install uv
run: |
curl -LsSf https://astral.sh/uv/install.sh | sh
- name: Set up Python and dependencies with uv
run: |
uv venv --python 3.10
source .venv/bin/activate
uv pip install -e ".[dev]"
- name: Run tests and collect coverage
run: |
source .venv/bin/activate
pytest --cov=aiperf --cov-report=html:htmlcov
# - name: Upload coverage report as artifact
# uses: actions/upload-artifact@v4
# with:
# name: htmlcov
# path: ./htmlcov
- name: List files in htmlcov
run: ls -R htmlcov
- name: Deploy coverage report to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./htmlcov
publish_branch: gh-pages