uploading distributions #122
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: Codecov workflow | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
name: Test code coverage | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.12' | |
- name: Install requirements | |
run: | | |
python -m pip install --upgrade pip | |
pip install poetry | |
poetry update | |
- name: Build yatter | |
run: poetry install --with test | |
- name: Run tests and collect coverage | |
run: poetry run coverage run -m pytest | |
- name: Upload coverage reports to Codecov with GitHub Action | |
uses: codecov/codecov-action@v3 |