From a5009cb665e68aca083482ac6e3cb31820c2c3bf Mon Sep 17 00:00:00 2001 From: Ernesto Rico Schmidt <ernesto@helsinki.at> Date: Mon, 22 Apr 2024 15:46:00 -0400 Subject: [PATCH] =?UTF-8?q?ci:=20don=E2=80=99t=20use=20YAML=20anchors?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit they are not supported while executing locally --- .gitlab-ci.yml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b6614de0..f0a0f1cc 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -4,13 +4,6 @@ stages: - deploy - release -.install_requirements: &install_requirements - - apt-get -qq update - - apt-get -y install curl pip libsasl2-dev libldap2-dev libssl-dev - - python3 -m pip install --upgrade pip - - pip install poetry - - poetry install --no-interaction - .release_rules: &release_rules # rule to run job on a tag-reference which has the form number.number.number (semantic versioning) # or number.number.number-text (semantic versioning + release-name) @@ -42,7 +35,11 @@ run_test_cases: stage: test image: python:3.11 before_script: - - *install_requirements + - apt-get -qq update + - apt-get -y install curl pip libsasl2-dev libldap2-dev libssl-dev + - python3 -m pip install --upgrade pip + - pip install poetry + - poetry install --no-interaction script: - mkdir logs - make coverage -- GitLab