chore: keep test dependencies with tests
Reportist CI All report validation and rendering checks passed.
Beffroi/reportist/pipeline/head This commit looks good
Details
Reportist CI All report validation and rendering checks passed.
Beffroi/reportist/pipeline/head This commit looks good
Details
This commit is contained in:
parent
5a1a63857f
commit
23e456e826
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue