nim-codex-dht/tests/testAllParallel.nim
Jaremy Creechley 7464c8e9a6
Split windows tests (#70)
Changes the CI to properly cache Nimble deps *including* Nim binaries. 

* parallelize tests
* speed up tests
* cache whole nimble
* use nimble install without -d
* bump version
* new nimble cache
* fix github_env
* compare speed
* readd msys2
* don't need make for nimble
* ugh renames
2023-07-13 20:42:43 -07:00

23 lines
587 B
Nim

# import
# ./dht/[test_providers, test_providermngr],
# ./discv5/[test_discoveryv5, test_discoveryv5_encoding]
import osproc
var cmds: seq[string]
when defined(testsPart1) or defined(testsAll):
cmds.add [
"nim c -r --verbosity:0 tests/dht/test_providers.nim",
"nim c -r --verbosity:0 tests/dht/test_providermngr.nim",
]
when defined(testsPart2) or defined(testsAll):
cmds.add [
"nim c -r --verbosity:0 tests/discv5/test_discoveryv5.nim",
"nim c -r --verbosity:0 tests/discv5/test_discoveryv5_encoding.nim",
]
echo "CMDS: ", cmds
quit execProcesses(cmds)