hellocomputer/.woodpecker.yml

13 lines
524 B
YAML
Raw Normal View History

2024-05-25 22:13:21 +02:00
pipeline:
2024-06-11 18:59:54 +02:00
run-tests:
2024-06-11 18:58:56 +02:00
image: python:3.12-slim
2024-05-25 22:13:21 +02:00
commands:
2024-06-11 18:58:56 +02:00
- pip install uv
- uv pip install --python /usr/local/bin/python3 --no-cache -r requirements.txt
- uv pip install --python /usr/local/bin/python3 -e .
- uv pip install --python /usr/local/bin/python3 pytest
2024-07-22 11:36:34 +02:00
- python3 -c "import duckdb; db = duckdb.connect(':memory:'); db.sql('install httpfs'); db.sql('install spatial')"
2024-06-11 18:59:54 +02:00
- pytest ./test/test_user.py
- pytest ./test/test_data.py
2024-07-22 11:36:34 +02:00
- pytest ./test/test_query.py