Skip to content

⬆️ Update actions/checkout action to v4 #354

⬆️ Update actions/checkout action to v4

⬆️ Update actions/checkout action to v4 #354

Workflow file for this run

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@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
- name: Install Poetry
run: pipx install poetry
- name: Setup Python
uses: actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1 # 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@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3