Fix local dependencies in tests

This commit is contained in:
Mark Spanbroek 2023-08-28 17:01:25 +02:00 committed by markspanbroek
parent fde8a33173
commit 476191f7dd
3 changed files with 2 additions and 0 deletions

1
.gitignore vendored
View File

@ -3,3 +3,4 @@
!*.* !*.*
nimble.develop nimble.develop
nimble.paths nimble.paths
nimbledeps

View File

@ -6,5 +6,6 @@ license = "MIT"
task test, "Runs the test suite": task test, "Runs the test suite":
for module in ["stdlib", "chronos", "unittest2"]: for module in ["stdlib", "chronos", "unittest2"]:
withDir "testmodules/" & module: withDir "testmodules/" & module:
delEnv "NIMBLE_DIR" # use nimbledeps dir
exec "nimble install -d -y" exec "nimble install -d -y"
exec "nimble test -y" exec "nimble test -y"

View File