<<: *python
script:
- poetry install --all-extras --only main,dev
- - poe examples
+ - poe test-examples
python:migrate:
<<: *python
<<: *python
script:
- poetry install --all-extras --only main,build,dev,lint
- - poe check
+ - poe check-files
python:format:
<<: *python
script:
- poetry install --all-extras --only main,dev,lint
- - poe format
-
-python:lint:
- <<: *python
- script:
- - poetry install --all-extras --only main,dev,lint
- - poe lint
+ - poe check-code
python:run:
<<: *python
- '3.14'
script:
- poetry install --all-extras --only main,dev,test
- - poe test
+ - poe test-unit
# the following command makes sure that the source root of the coverage file is at $gitroot
- poetry run bash -c "coverage combine .coverage; coverage xml"
artifacts:
Contributing
============
-Before committing, please ensure that ``poe check``, ``poe lint``, ``poe format`` and ``poe test`` pass.
+Before committing, please ensure that ``poe check-files``, ``poe check-code`` and ``poe test-unit`` pass.
Those commands are both run on the CI and if they don't pass, CI fails.
The manager unit tests
======================
-The unit tests use ``pytest`` and can be run with the command ``poe test``.
+The unit tests use ``pytest`` and can be run with the command ``poe test-unit``.
They can be run from a freshly cloned repository and should be successful.
They are located in the ``manager`` subdirectory.