From: Aleš Mrázek Date: Thu, 18 May 2023 23:56:12 +0000 (+0200) Subject: manager: ci: unit tests for python3.11 X-Git-Tag: v6.0.1~11^2~2^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=57835795dff952ea5ac696cfcb07b3fd1a14d1cd;p=thirdparty%2Fknot-resolver.git manager: ci: unit tests for python3.11 --- diff --git a/manager/.gitlab-ci.yml b/manager/.gitlab-ci.yml index 668c858f2..60d8b361a 100644 --- a/manager/.gitlab-ci.yml +++ b/manager/.gitlab-ci.yml @@ -2,27 +2,29 @@ stages: - check default: - image: registry.nic.cz/knot/knot-resolver/ci/manager:knot-$KNOT_VERSION + image: $CI_REGISTRY/knot/knot-resolver/ci/manager:knot-$KNOT_VERSION before_script: - cd manager + - poetry --version - poetry env use $PYTHON_INTERPRETER - - poetry install --no-root tags: - docker - linux - amd64 -lint:py3.10: +lint:py3.11: stage: check script: + - poetry install --only main,dev,lint - poe check variables: - PYTHON_INTERPRETER: python3.10 + PYTHON_INTERPRETER: python3.11 .unit: &unit stage: check script: + - poetry install --only main,dev,test # create required directories that are in default config, otherwise unit tests fail - mkdir -p /var/cache/knot-resolver - poe test @@ -37,11 +39,6 @@ lint:py3.10: paths: - manager/unit.junit.xml -unit:py3.6: - <<: *unit - variables: - PYTHON_INTERPRETER: python3.6 - unit:py3.7: <<: *unit variables: @@ -60,4 +57,9 @@ unit:py3.9: unit:py3.10: <<: *unit variables: - PYTHON_INTERPRETER: python3.10 \ No newline at end of file + PYTHON_INTERPRETER: python3.10 + +unit:py3.11: + <<: *unit + variables: + PYTHON_INTERPRETER: python3.11 \ No newline at end of file