Skip to content

Fix poli blauw settings (#137) #256

Fix poli blauw settings (#137)

Fix poli blauw settings (#137) #256

Workflow file for this run

name: Unit test
on:
pull_request:
branches: main
push:
branches: main
jobs:
build:
name: unit test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install dependencies
run: |
python -m pip install uv
uv venv .venv
if [ -f requirements.txt ]; then uv pip install -r requirements.txt; fi
uv pip install -e ".[test]"
- name: Running Unit tests
run: |
source .venv/bin/activate
pytest tests/ --doctest-modules --cov=src --cov-report=xml
- name: Code Coverage Summary Report
uses: irongut/[email protected]
with:
filename: coverage.xml
badge: true
format: 'markdown'
output: 'both'
- name: Write to Job Summary
run: cat code-coverage-results.md >> $GITHUB_STEP_SUMMARY