Commit 79a1d919 authored by Paulo Medeiros's avatar Paulo Medeiros
Browse files

Use "needs" in gitlab CI

parent 38a2a42f
Pipeline #9736 failed with stages
in 9 minutes and 8 seconds
......@@ -42,6 +42,7 @@ create_py39:
isort:
stage: lint
needs: ["create_py38"]
script:
- conda activate gitlab_runner_py38
- isort --check-only .
......@@ -50,6 +51,7 @@ isort:
black:
stage: lint
needs: ["create_py38"]
script:
- conda activate gitlab_runner_py38
- black --check .
......@@ -58,6 +60,7 @@ black:
pylint:
stage: lint
needs: ["create_py38"]
script:
- conda activate gitlab_runner_py38
- pylint netatmoqc
......@@ -67,6 +70,7 @@ pylint:
flake8:
stage: lint
needs: ["create_py38"]
script:
- conda activate gitlab_runner_py38
# Set FLAKEHELL_CACHE to a random new dir. Cached data was causing issues with pylint configs.
......@@ -89,6 +93,7 @@ flake8:
Unit Tests Python 3.8:
stage: test
needs: ["create_py38"]
script:
- conda activate gitlab_runner_py38
- pytest -v tests
......@@ -96,6 +101,7 @@ Unit Tests Python 3.8:
Unit Tests Python 3.9:
stage: test
needs: ["create_py39"]
script:
- conda activate gitlab_runner_py39
- pytest -v tests
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment