🚨 Manually fix #759
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: pytest-cov | |
# Need to include "push" | |
on: [push, pull_request] | |
permissions: | |
contents: read | |
jobs: | |
cov: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3.12" | |
- run: | | |
python3 -m pip install -U pip | |
- name: Setup nox | |
# Keep in sync with requirements-dev.txt | |
uses: wntrblm/[email protected] | |
- run: nox --session runtest_cov | |
- name: Upload coverage reports to Codecov | |
uses: codecov/codecov-action@v4 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} |