Update version in pyproject.toml #47
Workflow file for this run
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: CI | |
on: | |
pull_request: | |
branches: | |
- main | |
push: | |
jobs: | |
tox: | |
uses: daniel-mizsak/workflows/.github/workflows/tox.yml@main | |
with: | |
python-version: "3.12" | |
codecov: | |
needs: tox | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out the codebase. | |
uses: actions/checkout@v4 | |
- name: Set up python. | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.12" | |
- name: Upgrade pip. | |
run: > | |
python -m pip install --upgrade pip | |
- name: Install package locally. | |
run: > | |
pip install .[dev] | |
- name: Generate coverage report. | |
run: > | |
pytest | |
- name: Run codecov. | |
uses: codecov/[email protected] | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} |