CI actions: is the test suite ever run? #7990
-
|
do any of the offical github actions run the full test suite from the tests directory? the i'm trying to fix #6323 and am new to nix/home-manager development. the problem i'm fixing would have been caught by an appropriate unit test, so i'm trying to get the tests running. for various reasons (see below), i'd like to run the test suite via github actions. i was expecting the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
Hi! Yeah, the tests are run for PRs but not as GitHub actions but by the Nix Community buildbot: https://buildbot.nix-community.org/#/projects/29 For changes in the command line it is probably better to work with integration tests, though, and unfortunately those are not run for PR jobs. They can be run (at least on Linux) using I think @khaneliman is using mac so perhaps he has some insight into running tests on macs? |
Beta Was this translation helpful? Give feedback.
Hi! Yeah, the tests are run for PRs but not as GitHub actions but by the Nix Community buildbot: https://buildbot.nix-community.org/#/projects/29
For changes in the command line it is probably better to work with integration tests, though, and unfortunately those are not run for PR jobs. They can be run (at least on Linux) using
nix run .#tests -- -t.I think @khaneliman is using mac so perhaps he has some insight into running tests on macs?