18 lines
347 B
YAML
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
|