hellocomputer/.woodpecker.yml
Guillem Borrell 819c29b3ba
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Fix CI/CD
2024-07-22 11:36:34 +02:00

13 lines
524 B
YAML

pipeline:
run-tests:
image: python:3.12-slim
commands:
- 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
- python3 -c "import duckdb; db = duckdb.connect(':memory:'); db.sql('install httpfs'); db.sql('install spatial')"
- pytest ./test/test_user.py
- pytest ./test/test_data.py
- pytest ./test/test_query.py