Update v1.2.dev0.rst #159
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: Codecov Workflow | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: macos-latest | |
name: Run pytest with cov | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Python 3.12 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.12.0 | |
- name: Install poetry | |
run: pip install poetry | |
- name: Install all dependencies along with test dependencies with poetry | |
run: poetry install --with tests | |
- name: Run tests and collect coverage | |
run: poetry run pytest --cov-report=xml --cov . | |
- name: Upload coverage reports to Codecov | |
uses: codecov/codecov-action@v3.1.6 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
slug: rmj3197/QuadratiK |