chore: keep test dependencies with tests
Reportist CI All report validation and rendering checks passed.
Beffroi/reportist/pipeline/head This commit looks good Details

This commit is contained in:
Dandaedre 2026-09-16 02:55:47 +02:00
parent 5a1a63857f
commit 23e456e826
Signed by: Dandaedre
GPG Key ID: 440C6592E8A26D99
3 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ authoring are documented in the main [README](../README.md) and
## Test environment
Tests require uv and Typst. `tests/test.sh` creates `.venv` and synchronizes the pinned
packages from `requirements.txt`, and invokes Python only from that environment.
packages from `tests/requirements.txt`, and invokes Python only from that environment.
```bash
./tests/test.sh

View File

@ -2,5 +2,5 @@
set -euo pipefail
cd "$(dirname "${BASH_SOURCE[0]}")/.."
uv venv --python 3.11 --allow-existing .venv
uv pip sync --python .venv/bin/python requirements.txt
uv pip sync --python .venv/bin/python tests/requirements.txt
.venv/bin/python -m unittest discover -s tests -p 'test_*.py' -v