⬆️ Update dependency ruff to v0.1.6 🔒 (#178) #459
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@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 | |
- name: Install Poetry | |
run: pipx install poetry | |
- name: Setup Python | |
uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236 # v4 | |
with: | |
python-version: '3.10' | |
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@c4cf8a4f03f0ac8585acb7c1b7ce3460ec15782f # v4 |