Skip to content

Expanded documentation #30

Expanded documentation

Expanded documentation #30

Workflow file for this run

name: Codecov Reporting
on:
push:
paths-ignore:
- "docs/**"
- "mkdocs.yml"
pull_request:
paths-ignore:
- "docs/**"
- "mkdocs.yml"
jobs:
build:
runs-on: ubuntu-latest
continue-on-error: true
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install Poetry
run: |
curl -sSL https://install.python-poetry.org | python3 -
- name: Install dependencies
run: poetry install --with dev
- name: Run tests and collect coverage
run: poetry run pytest --cov=zentra_sdk --cov-report xml tests/
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
verbose: true
files: ./coverage.xml
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}