mirror of
https://github.com/logos-storage/questionable.git
synced 2026-01-02 13:53:11 +00:00
Fix tests on Nim 1.6.12
Ignore the nimble.lock at the root level when running tests
This commit is contained in:
parent
6cbbda7e4d
commit
f957dd59d6
@ -4,7 +4,7 @@ description = "Questionable tests for std/option"
|
||||
license = "MIT"
|
||||
|
||||
task test, "Runs the test suite":
|
||||
var options = "-f -r"
|
||||
var options = "-f -r --skipParentCfg"
|
||||
when (NimMajor, NimMinor) >= (1, 4):
|
||||
options &= " --warningAsError[UnsafeDefault]:on"
|
||||
options &= " --warningAsError[ProveInit]:on"
|
||||
|
||||
@ -6,4 +6,4 @@ license = "MIT"
|
||||
requires "result"
|
||||
|
||||
task test, "Runs the test suite":
|
||||
exec "nim c -f -r test.nim"
|
||||
exec "nim c -f -r --skipParentCfg test.nim"
|
||||
|
||||
@ -6,4 +6,4 @@ license = "MIT"
|
||||
requires "stew"
|
||||
|
||||
task test, "Runs the test suite":
|
||||
exec "nim c -f -r test.nim"
|
||||
exec "nim c -f -r --skipParentCfg test.nim"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user