⬆️ Update codecov/codecov-action digest to 5c47607 (#348) #819
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: Coverage | |
on: | |
pull_request: | |
types: [synchronize, opened, edited] | |
push: | |
branches: [main] | |
jobs: | |
skip: | |
name: Skip Duplicate Actions | |
uses: ixm-one/common/.github/workflows/actions.skip.yml@main | |
coverage: | |
name: Code Coverage | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
- name: Install Poetry | |
run: pipx install poetry | |
- name: Setup Python | |
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5 | |
with: | |
python-version: '3.12' | |
cache: poetry | |
- name: Install Tools | |
run: poetry install --with=dev | |
- name: Run Tests | |
run: >- | |
poetry run pytest | |
--cov=${{github.workspace}}/src | |
--cov-branch | |
-vv | |
#--numprocesses=auto | |
- name: Upload Code Coverage | |
uses: codecov/codecov-action@5c47607acb93fed5485fdbf7232e8a31425f672a # v5 |