Skip to content

Bump pdoc from 14.4.0 to 14.5.1 (#12) #9

Bump pdoc from 14.4.0 to 14.5.1 (#12)

Bump pdoc from 14.4.0 to 14.5.1 (#12) #9

Workflow file for this run

name: "Codecov"
on:
push:
branches:
- "main"
jobs:
coverage:
runs-on: "ubuntu-latest"
env:
OS: "ubuntu-latest"
PYTHON: "3.9"
environment:
name: "codecov"
steps:
- uses: "actions/checkout@v4"
- name: "Setup Python"
uses: "actions/setup-python@v4"
with:
python-version: "3.x"
- name: "Generate coverage report"
run: |
python -m pip install poetry
poetry install --with test
poetry run pytest --cov=src/powerline_k8s --cov-report=xml
- name: "Upload coverage to Codecov"
uses: "codecov/codecov-action@v4"
with:
files: ./coverage.xml
env_vars: OS,PYTHON
fail_ci_if_error: true
verbose: true
token: ${{ secrets.CODECOV_TOKEN }}