added test stage to check

This commit is contained in:
Ben Wallis 2021-04-16 21:05:19 +01:00
parent 751b3079e7
commit 259771d0ca

View File

@ -8,6 +8,16 @@ code-quality:
- cargo clippy --all-targets --locked -- -D warnings
- cargo fmt --all -- --check
tag-test:
extends: .recompile-branch
stage: check
script:
- git config --global user.email "gitlab@veloren.net"
- git config --global user.name "Veloren Admin"
- git remote add api-origin https://oauth2:${TAGTOKEN}@gitlab.com/veloren/veloren.git
- git tag -f airshipper
- git push api-origin --tags -f
security:
extends: .recompile-branch
stage: check