- poetry env use python${PYTHON_VERSION}
- poetry env info
-python:examples:
+python:check:files:
<<: *python
script:
- - poetry install --all-extras --only main,dev
- - poe test-examples
+ - poetry install --all-extras --only main,build,dev,lint
+ - poe check-files
-python:migrate:
+python:check:code:
<<: *python
script:
- - poetry install --all-extras --only main,dev
- - poe test-migrate
+ - poetry install --all-extras --only main,dev,lint
+ - poe check-code
-python:check:
+python:test:examples:
<<: *python
+ stage: test
script:
- - poetry install --all-extras --only main,build,dev,lint
- - poe check-files
+ - poetry install --all-extras --only main,dev
+ - poe test-examples
-python:format:
+python:test:migrate:
<<: *python
+ stage: test
script:
- - poetry install --all-extras --only main,dev,lint
- - poe check-code
+ - poetry install --all-extras --only main,dev
+ - poe test-migrate
-python:run:
+python:test:run:
<<: *python
stage: test
parallel:
# return code 124 is also OK
- timeout 1m poe run etc/config/${ADD_CONFIG_FILE_NAME} || ( [[ $? -eq 124 ]] )
-python:unit:
+python:test:unit:
<<: *python
stage: test
parallel: