From 7b64ae302b3bc74af91c044304e234798e070214 Mon Sep 17 00:00:00 2001 From: anyreso Date: Mon, 22 Apr 2024 20:20:53 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=8D=BB=20forgot=20tests=20stage?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitlab-ci.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3041322..cf377c4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -23,9 +23,18 @@ addons: rules: - if: '$CI_COMMIT_TAG =~ /^v\d\.\d\.\d$/' +# run tests +tests: + stage: tests + needs: [ "addons" ] + script: + - godot --headless --path "$PWD" -s addons/gut/gut_cmdln.gd + only: + - main + - develop + # export binaries .export_presets: - needs: [ "tests" ] before_script: - cp "$EXPORT_PRESETS" export_presets.cfg - export ZIP_ARCHIVE_NAME="$EXPORT_NAME-$CI_COMMIT_TAG-$CI_JOB_NAME.zip"