From: Aleš Mrázek Date: Fri, 5 Dec 2025 11:39:03 +0000 (+0100) Subject: .gitlab-ci.yml:: updated poe tasks names X-Git-Tag: v6.1.0~9^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fb57be61d804e4751ebd96a361c3d80473983f30;p=thirdparty%2Fknot-resolver.git .gitlab-ci.yml:: updated poe tasks names Updated poe tasks names in other places. --- diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8a2920659..eae5ab7a1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -853,7 +853,7 @@ python:examples: <<: *python script: - poetry install --all-extras --only main,dev - - poe examples + - poe test-examples python:migrate: <<: *python @@ -865,19 +865,13 @@ python:check: <<: *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 @@ -912,7 +906,7 @@ python:unit: - '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: diff --git a/doc/dev/manager-dev-env.rst b/doc/dev/manager-dev-env.rst index 75992ba52..09ef22174 100644 --- a/doc/dev/manager-dev-env.rst +++ b/doc/dev/manager-dev-env.rst @@ -106,7 +106,7 @@ If something fails and you have done all the steps above, please [open a new iss 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. diff --git a/tests/README.rst b/tests/README.rst index c2239f2fd..bb41091ef 100644 --- a/tests/README.rst +++ b/tests/README.rst @@ -11,7 +11,7 @@ Some can be enabled by meson build system and some can be performed by Poetry to 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.