diff options
author | Miran <narimiran@disroot.org> | 2020-05-07 10:08:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-07 10:08:05 +0200 |
commit | 5a9b3c27c1882eb1b7ab8845e4ff0c8a3c9f5835 (patch) | |
tree | e08e876c5ba8553aa8dbc309e54b76a59d999d0a /koch.nim | |
parent | 0d8507cd3da4f8c5ec3d7a627bb2c8918ff804c8 (diff) | |
download | Nim-5a9b3c27c1882eb1b7ab8845e4ff0c8a3c9f5835.tar.gz |
Split testing important packages into two jobs (#14256)
* split testing packages in two separate jobs * speed-up the slowest tests * special treatment for two packages
Diffstat (limited to 'koch.nim')
-rw-r--r-- | koch.nim | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/koch.nim b/koch.nim index 017db8678..8b7eecf7c 100644 --- a/koch.nim +++ b/koch.nim @@ -526,8 +526,10 @@ proc runCI(cmd: string) = ## build nimble early on to enable remainder to depend on it if needed kochExecFold("Build Nimble", "nimble") - if getEnv("NIM_TEST_PACKAGES", "false") == "true": - execFold("Test selected Nimble packages", "nim c -r testament/testament cat nimble-packages") + if getEnv("NIM_TEST_PACKAGES", "0") == "1": + execFold("Test selected Nimble packages (1)", "nim c -r testament/testament cat nimble-packages-1") + elif getEnv("NIM_TEST_PACKAGES", "0") == "2": + execFold("Test selected Nimble packages (2)", "nim c -r testament/testament cat nimble-packages-2") else: buildTools() |