Skip to content

Initial sphinx-gallery #1059

Initial sphinx-gallery

Initial sphinx-gallery #1059

Workflow file for this run

name: coverage
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
name: Test coverage
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.13'
- name: Install packages
run: |
pip install --upgrade pip
pip install .[test]
pip list
- name: Run tests and collect coverage
run: |
cd tests/
pytest --cov=xgi --cov-report=xml
- name: Upload coverage reports to Codecov with GitHub Action
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}