Skip to content

Improved the documentation #19

Improved the documentation

Improved the documentation #19

Workflow file for this run

name: coverage
on:
push:
branches: [main]
pull_request:
jobs:
test-coverage:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v6
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: "3.12"
- name: Install package and test dependencies
run: |
python -m pip install --upgrade pip
pip install -e .[dev]
- name: Run tests with coverage
run: |
pytest \
--cov=edge2torch \
--cov-report=term-missing \
--cov-report=xml \
--cov-report=html
- name: Upload HTML coverage artifact
uses: actions/upload-artifact@v7
with:
name: htmlcov
path: htmlcov/
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v6
with:
files: ./coverage.xml
token: ${{ secrets.CODECOV_TOKEN }}
slug: Thomas-Rauter/edge2torch