Skip to content
Snippets Groups Projects
Commit 2fa28347 authored by Misha Smirnov's avatar Misha Smirnov
Browse files

some changes in cicd

parent 79883d62
No related branches found
No related tags found
1 merge request!7Add CICD for test
Pipeline #219729 passed
image: python:3.8-slim
image: python:last
# Change pip's cache directory to be inside the project directory since we can
# only cache local items.
......@@ -19,15 +19,23 @@ stages:
python3 -m venv venv
source venv/bin/activate
pip install -U pip setuptools wheel setuptools_scm
pip install pytest flake8
pip install pytest
test-python3.8:
stage: test
image: python:3.8-slim
script:
- *virtualenv_definition
- pytest ./tests/test_general.py
- flake8 .
test-python3.9:
stage: test
image: python:3.9-slim
script:
- *virtualenv_definition
- pytest ./tests/test_general.py
# before_script:
# - python -V # Print out python version for debugging
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment