diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3a409ce..96f60a0 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -77,15 +77,15 @@ release-image_client: - if: $CI_PIPELINE_SOURCE == "web" when: always -package-extension: +package-mod: stage: release before_script: - apk add --no-cache tar script: - DATE=`date +"%Y-%m-%d"` - - tar zcf test_harness_${DATE}_${CI_COMMIT_REF_SLUG}.tar.gz --exclude .luacheckrc --exclude .gitlab-ci.yml --exclude .vscode --exclude .util --exclude client --exclude opengl --exclude \*.tar.gz --exclude .git\* --warning=no-file-changed --transform 's,^./,test_harness/,' . + - tar zcf /tmp/test_harness_${DATE}_${CI_COMMIT_REF_SLUG}.tar.gz --exclude .luacheckrc --exclude .gitlab-ci.yml --exclude .vscode --exclude .util --exclude client --exclude opengl --exclude \*.tar.gz --exclude .git\* --transform 's,^./,test_harness/,' . artifacts: paths: - - "*.tar.gz" + - "/tmp/*.tar.gz" diff --git a/.util/docker-compose.yaml b/.util/docker-compose.yaml index 679479b..c762faf 100644 --- a/.util/docker-compose.yaml +++ b/.util/docker-compose.yaml @@ -1,6 +1,7 @@ version: "3.2" services: server: + restart: no build: dockerfile: Dockerfile ports: @@ -11,4 +12,4 @@ services: SHOW_DEBUG: ${SHOW_DEBUG} RUN_TESTS: ${RUN_TESTS} STOP_SERVER: ${STOP_SERVER} - FAILFAST: $[FAILFAST} + FAILFAST: ${FAILFAST} diff --git a/base.lua b/base.lua index 24f390d..80ff6e8 100644 --- a/base.lua +++ b/base.lua @@ -546,9 +546,8 @@ local run_tests = function() print(" " .. err) failed = failed + 1 if minetest.settings:get_bool("test_harness_failfast", false) then - print("FAILFAST !!!!!!!!!!!!!!!") tests_state = TESTS_STATE_ENUM.DONE - return + break end end end