When building Nix derivation in GitLab CI, run tests

This commit is contained in:
YoshiRulz 2021-12-18 07:29:20 +10:00
parent ef16b4a457
commit 3bdbe1aeda
No known key found for this signature in database
GPG Key ID: C4DE31C245353FB7
1 changed files with 2 additions and 2 deletions

View File

@ -62,7 +62,7 @@ build_nix_master:
- if: '$CI_PIPELINE_SOURCE == "schedule"' - if: '$CI_PIPELINE_SOURCE == "schedule"'
when: always when: always
script: script:
- nix-build --pure -A emuhawk --arg useCWDAsSource true - nix-build --pure -A emuhawk --arg useCWDAsSource true --arg doCheck true
stage: test stage: test
build_nix_prev_release: build_nix_prev_release:
@ -73,7 +73,7 @@ build_nix_prev_release:
- if: '$CI_PIPELINE_SOURCE == "schedule"' - if: '$CI_PIPELINE_SOURCE == "schedule"'
when: always when: always
script: script:
- nix-build --pure -A emuhawk - nix-build --pure -A emuhawk --arg doCheck true
stage: test stage: test
check_style: check_style: