From 4c872098265aeb8e032309dadb87f66c6b82127c Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Thu, 4 Jun 2020 10:48:04 +1000 Subject: [PATCH] gitlab CI: move the pip dependencies to before_script Signed-off-by: Peter Hutterer --- .gitlab-ci.yml | 2 +- .gitlab-ci/ci.template | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e9e0be1..875a7be 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -165,9 +165,9 @@ check-commit: stage: prep before_script: - apk add python3 py-pip git - script: - pip3 install GitPython - pip3 install pytest + script: - | pytest --junitxml=results.xml \ --tb=line \ diff --git a/.gitlab-ci/ci.template b/.gitlab-ci/ci.template index db3f835..45baa63 100644 --- a/.gitlab-ci/ci.template +++ b/.gitlab-ci/ci.template @@ -102,9 +102,9 @@ check-commit: stage: prep before_script: - apk add python3 py-pip git - script: - pip3 install GitPython - pip3 install pytest + script: - | pytest --junitxml=results.xml \ --tb=line \ -- 2.34.1