Skip to content

update comments

update comments #55

Workflow file for this run

name: tests
on:
pull_request:
branches:
- '*'
push:
branches:
- master
paths-ignore:
- '**/README.md'
- 'images/**'
- '.github/workflows/**'
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install uv
uv venv
uv pip install -r requirements-ci.txt -U
- name: Activate virtualenv
run: |
. .venv/bin/activate
echo PATH=$PATH >> $GITHUB_ENV
- name: Test with pytest
run: pytest --cov=app --cov-report=html tests/
- name: Archive HTML coverage report
uses: actions/upload-artifact@v4
with:
name: coverage-report-${{ matrix.python-version }}
path: ./htmlcov