1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-24 02:39:48 +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:
Robert Helgesson 2020-05-13 23:42:02 +02:00
parent 40b1c5c448
commit 5cfc9fed79
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89

View file

@ -11,7 +11,8 @@ stages:
Run tests:
stage: test
script:
- nix-shell tests -A run.files-text
- ./format -c && echo Format is OK
- nix-shell --pure tests -A run.files-text
rules:
- if: $CI_COMMIT_BRANCH == "master"
when: always