feat: add test stage
This commit is contained in:
parent
287d86e9e9
commit
bdf6021953
1 changed files with 8 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue