fedextrack/.gitlab-ci.yml

19 lines
347 B
YAML
Raw Normal View History

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