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

some changes in CICD

parent 73a49841
No related branches found
No related tags found
No related merge requests found
Pipeline #219750 passed
......@@ -13,13 +13,14 @@ cache:
stages:
- test
- linting
.virtualenv_template: &virtualenv_definition |
python -V
python3 -m venv venv
source venv/bin/activate
pip install -U pip setuptools wheel setuptools_scm
pip install pytest
pip install pytest black
test-python3.8:
......@@ -37,6 +38,14 @@ test-python3.9:
- pytest ./tests/test_general.py
black:
stage: linting
# image: registry.gitlab.com/pipeline-components/black:latest
script:
- *virtualenv_definition
- black --check --verbose -- .
# before_script:
# - python -V # Print out python version for debugging
# - pip install virtualenv
......
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