dpdtrack/.gitlab-ci.yml
2023-08-16 11:38:00 +02:00

18 lines
347 B
YAML

image: python:3.10
stages:
- test
before_script:
- python -V
- python -m venv venv
- source venv/bin/activate
- pip install -U pip
- pip install .
- echo "[KeyDelivery]" > config.ini
- echo "key = ${API_KEY}" >> config.ini
- echo "secret = ${API_SECRET}" >> config.ini
test:
stage: test
script: python -m unittest test.py