Run something useful for woodpecker
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
Guillem Borrell 2024-06-11 18:58:56 +02:00
parent 1cc59d3707
commit 7503e6f94c

View file

@ -1,9 +1,10 @@
pipeline: pipeline:
build-image: build-image:
image: docker image: python:3.12-slim
commands: commands:
- docker build . -t git.guillemborrell.es/guillem/hellocomputer:0.1 - pip install uv
- docker login -u guillem -p $GITEA_API_KEY git.guillemborrell.es - uv pip install --python /usr/local/bin/python3 --no-cache -r requirements.txt
- docker push git.guillemborrell.es/guillem/hellocomputer:0.1 - uv pip install --python /usr/local/bin/python3 -e .
volumes: - uv pip install --python /usr/local/bin/python3 pytest
- /var/run/docker.sock:/var/run/docker.sock - pytest ./tests/test_user.py
- pytest ./tests/test_data.py