python/.gitlab-ci.yml

14 lines
376 B
YAML

pytest:
stage: test
image: python:3.9
variables:
PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
before_script:
- python3 -m pip install --upgrade pip
- pip3 install testing.postgresql
- pip3 install sqlalchemy
- pip3 install pgmock
- pip3 install psycopg2
- pip3 install pytest
script:
python3 -m pytest tests/*