mirror of
https://github.com/nix-community/home-manager
synced 2024-11-30 06:59:45 +01:00
gitlab-ci: minor test job improvements
Specifically, - add code format checking and - run tests in a pure shell.
This commit is contained in:
parent
40b1c5c448
commit
5cfc9fed79
1 changed files with 2 additions and 1 deletions
|
@ -11,7 +11,8 @@ stages:
|
||||||
Run tests:
|
Run tests:
|
||||||
stage: test
|
stage: test
|
||||||
script:
|
script:
|
||||||
- nix-shell tests -A run.files-text
|
- ./format -c && echo Format is OK
|
||||||
|
- nix-shell --pure tests -A run.files-text
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_COMMIT_BRANCH == "master"
|
- if: $CI_COMMIT_BRANCH == "master"
|
||||||
when: always
|
when: always
|
||||||
|
|
Loading…
Reference in a new issue