Rework set release, allow setting local as well #31
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: Send coverage report | |
on: | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- pyproject.toml | |
jobs: | |
unit-tests-coverage: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.13" | |
- name: Set up uv | |
uses: astral-sh/setup-uv@v3 | |
with: | |
version: "latest" | |
- name: Install the project | |
run: uv sync --dev | |
- name: Send coverage report | |
run: | | |
uv run pytest --cov newversion --cov-report=xml | |
- name: Send coverage report | |
uses: codecov/codecov-action@v3 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} |