15 lines
407 B
YAML
15 lines
407 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
|
|
- pip3 install GitPython
|
|
script:
|
|
python3 -m pytest tests/* |