diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8bf8551..7a70433 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -40,6 +40,14 @@ build: - build/ rules: - if: $CI_COMMIT_BRANCH +test: + script: + - ncc package install --package="ncc-build/net.nosial.configlib.ncc" --reinstall -y --log-level debug + + - wget https://phar.phpunit.de/phpunit-11.3.phar + - php phpunit-11.3.phar --configuration phpunit.xml + rules: + - if: $CI_COMMIT_BRANCH release: stage: deploy