File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed
Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -156,6 +156,11 @@ jobs:
156156 nim --version
157157 nimble --version
158158 nimble install -y --depsOnly
159- rm -f nimble.lock
159+
160160 env NIMLANG=c nimble test
161161 env NIMLANG=cpp nimble test
162+
163+ nimble install chronos
164+ env NIMLANG=C nimble testChronos || true
165+ env NIMLANG=C nimble testChronos || true
166+
Original file line number Diff line number Diff line change @@ -36,3 +36,9 @@ task test, "Run all tests":
3636 for mode in [" -d:debug" , " -d:release" , " -d:danger" ]:
3737 run backend & " " & threads & " " & mode, " tests/all_tests"
3838
39+ task testChronos, " Run chronos tests" :
40+ # TODO chronos backend uses nested waitFor which is not supported
41+ for backend in [" -d:asyncBackend=chronos" ]:
42+ for threads in [" --threads:off" , " --threads:on" ]:
43+ for mode in [" -d:debug" , " -d:release" , " -d:danger" ]:
44+ run backend & " " & threads & " " & mode, " tests/all_tests"
You can’t perform that action at this time.
0 commit comments