Skip to content
Snippets Groups Projects
Commit 7a3012b3 authored by Moul's avatar Moul
Browse files

[ci] #118: Add tests jobs for Python from v3.6 to v3.9

- Extend test job by changing PYTHON_VERSION
- Splitted among two runners
- Rename stage
parent e330a826
No related branches found
No related tags found
2 merge requests!128Release 0.62.0,!95#118: Set up complete CI/CD pipeline
stages: stages:
- format - format
- test - tests
- build - build
- release - release
- publish_doc - publish_doc
...@@ -48,18 +48,40 @@ format: ...@@ -48,18 +48,40 @@ format:
script: script:
- make check-format - make check-format
test: .tests:
extends: extends: .changes
- .changes stage: tests
stage: test image: $DOCKER_IMAGE/$PYTHON_VERSION:latest
script: script:
- poetry install --no-dev - poetry install --no-dev
- make tests - make tests
tests-3.6:
extends: .tests
tags: [mille]
variables:
PYTHON_VERSION: "3.6"
tests-3.7:
extends: .tests
tags: [mille]
variables:
PYTHON_VERSION: "3.7"
tests-3.8:
extends: .tests
tags: [redshift]
tests-3.9:
extends: .tests
tags: [redshift]
variables:
PYTHON_VERSION: "3.9"
check: check:
extends: extends:
- .changes - .changes
stage: test stage: tests
script: script:
- poetry install - poetry install
- make mypy - make mypy
......
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