From f32822c861341a35ab36a050cb8ec6baf1d01cff Mon Sep 17 00:00:00 2001 From: DasMoorhuhn Date: Tue, 12 Dec 2023 03:33:15 +0100 Subject: [PATCH] ci only on main --- .gitlab-ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8733545..7e7b7ba 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,5 +1,7 @@ pytest: image: python:3.10-alpine + only: + - main script: - sh tests/start_tests_gitlab.sh - sed -i "s#/builds/DasMoorhuhn/autopicture-v3/src#${CI_PROJECT_DIR}#g" coverage.xml