feat: add test stage

This commit is contained in:
badPointer 2024-09-17 19:12:50 +00:00
parent 287d86e9e9
commit bdf6021953

View file

@ -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