From dd77b597ad023433c924667207752ad82a435f23 Mon Sep 17 00:00:00 2001 From: anyreso Date: Mon, 15 Apr 2024 15:19:56 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=9A=20enable=20cicd=20tests?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitlab-ci.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 96f3063..084906a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -18,9 +18,21 @@ addons: - timeout 10 godot --headless --editor --verbose || true only: - main + - develop + +# 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 only: