@@ -22,39 +22,40 @@ When this is the case, a workaround is to test this package here by adding `--pa
22
22
type NimblePackage * = object
23
23
name* , cmd* , url* : string
24
24
useHead* : bool
25
+ allowFailure* : bool
26
+ # # When true, we still run the test but the test is allowed to fail.
27
+ # # This is useful for packages that currently fail but that we still want to
28
+ # # run in CI, e.g. so that we can monitor when they start working again and
29
+ # # are reminded about those failures without making CI fail for unrelated PRs.
25
30
26
31
var packages* : seq [NimblePackage ]
27
32
28
- proc pkg (name: string ; cmd = " nimble test" ; url = " " , useHead = true ) =
29
- packages.add NimblePackage (name: name, cmd: cmd, url: url, useHead: useHead)
33
+ proc pkg (name: string ; cmd = " nimble test" ; url = " " , useHead = true , allowFailure = false ) =
34
+ packages.add NimblePackage (name: name, cmd: cmd, url: url, useHead: useHead, allowFailure: allowFailure )
30
35
31
- # pkg "alea"
36
+ pkg " alea" , allowFailure = true
32
37
pkg " argparse"
33
- when false :
34
- pkg " arraymancer" , " nim c tests/tests_cpu.nim"
35
- # pkg "ast_pattern_matching", "nim c -r --oldgensym:on tests/test1.nim"
38
+ pkg " arraymancer" , " nim c tests/tests_cpu.nim" , allowFailure = true
39
+ pkg " ast_pattern_matching" , " nim c -r --oldgensym:on tests/test1.nim" , allowFailure = true
36
40
pkg " awk"
37
41
pkg " bigints" , url = " https://github.com/Araq/nim-bigints"
38
42
pkg " binaryheap" , " nim c -r binaryheap.nim"
39
43
pkg " BipBuffer"
40
- # pkg "blscurve" # pending https://github.com/status-im/nim-blscurve/issues/39
44
+ pkg " blscurve" , allowFailure = true # pending https://github.com/status-im/nim-blscurve/issues/39
41
45
pkg " bncurve"
42
46
pkg " brainfuck" , " nim c -d:release -r tests/compile.nim"
43
47
pkg " bump" , " nim c --gc:arc --path:. -r tests/tbump.nim" , " https://github.com/disruptek/bump"
44
48
pkg " c2nim" , " nim c testsuite/tester.nim"
45
49
pkg " cascade"
46
50
pkg " cello"
47
51
pkg " chroma"
48
- # pkg "chronicles", "nim c -o:chr -r chronicles.nim"
49
- # when not defined(osx): # testdatagram.nim(560, 54): Check failed
50
- # pkg "chronos", "nim c -r -d:release tests/testall"
51
- # pending https://github.com/nim-lang/Nim/issues/17130
52
-
52
+ pkg " chronicles" , " nim c -o:chr -r chronicles.nim" , allowFailure = true # pending https://github.com/status-im/nim-chronos/issues/169
53
+ pkg " chronos" , " nim c -r -d:release tests/testall" , allowFailure = true # pending https://github.com/nim-lang/Nim/issues/17130
53
54
pkg " cligen" , " nim c --path:. -r cligen.nim"
54
55
pkg " combparser" , " nimble test --gc:orc"
55
56
pkg " compactdict"
56
57
pkg " comprehension" , " nimble test" , " https://github.com/alehander42/comprehension"
57
- # pkg "criterion" # pending https://github.com/disruptek/criterion/issues/3 (wrongly closed)
58
+ pkg " criterion" , allowFailure = true # pending https://github.com/disruptek/criterion/issues/3 (wrongly closed)
58
59
pkg " dashing" , " nim c tests/functional.nim"
59
60
pkg " delaunay"
60
61
pkg " docopt"
@@ -66,12 +67,12 @@ pkg "fusion"
66
67
pkg " gara"
67
68
pkg " glob"
68
69
pkg " ggplotnim" , " nim c -d:noCairo -r tests/tests.nim"
69
- # pkg "gittyup", "nimble test", "https://github.com/disruptek/gittyup"
70
+ pkg " gittyup" , " nimble test" , " https://github.com/disruptek/gittyup" , allowFailure = true
70
71
pkg " gnuplot" , " nim c gnuplot.nim"
71
72
# pkg "gram", "nim c -r --gc:arc --define:danger tests/test.nim", "https://github.com/disruptek/gram"
72
73
# pending https://github.com/nim-lang/Nim/issues/16509
73
74
pkg " hts" , " nim c -o:htss src/hts.nim"
74
- # pkg "httpauth"
75
+ pkg " httpauth" , allowFailure = true
75
76
pkg " illwill" , " nimble examples"
76
77
pkg " inim"
77
78
pkg " itertools" , " nim doc src/itertools.nim"
@@ -87,28 +88,28 @@ pkg "memo"
87
88
pkg " msgpack4nim" , " nim c -r tests/test_spec.nim"
88
89
pkg " nake" , " nim c nakefile.nim"
89
90
pkg " neo" , " nim c -d:blas=openblas tests/all.nim"
90
- # pkg "nesm", "nimble tests" # notice plural 'tests'
91
- # pkg "nico"
91
+ pkg " nesm" , " nimble tests" , allowFailure = true # notice plural 'tests'
92
+ pkg " nico" , allowFailure = true
92
93
pkg " nicy" , " nim c -r src/nicy.nim"
93
94
pkg " nigui" , " nim c -o:niguii -r src/nigui.nim"
94
95
pkg " nimcrypto" , " nim r --path:. tests/testall.nim" # `--path:.` workaround needed, see D20210308T165435
95
96
pkg " NimData" , " nim c -o:nimdataa src/nimdata.nim"
96
97
pkg " nimes" , " nim c src/nimes.nim"
97
98
pkg " nimfp" , " nim c -o:nfp -r src/fp.nim"
98
- # pkg "nimgame2", "nim c nimgame2/nimgame.nim" # XXX Doesn't work with deprecated 'randomize', will create a PR.
99
+ pkg " nimgame2" , " nim c nimgame2/nimgame.nim" , allowFailure = true # XXX Doesn't work with deprecated 'randomize', will create a PR.
99
100
pkg " nimgen" , " nim c -o:nimgenn -r src/nimgen/runcfg.nim"
100
101
pkg " nimlsp"
101
102
pkg " nimly" , " nim c -r tests/test_readme_example.nim"
102
- # pkg "nimongo", "nimble test_ci"
103
- # pkg "nimph", "nimble test", "https://github.com/disruptek/nimph"
103
+ pkg " nimongo" , " nimble test_ci" , allowFailure = true
104
+ pkg " nimph" , " nimble test" , " https://github.com/disruptek/nimph" , allowFailure = true
104
105
pkg " nimpy" , " nim c -r tests/nimfrompy.nim"
105
106
pkg " nimquery"
106
107
pkg " nimsl"
107
108
pkg " nimsvg"
108
109
pkg " nimterop" , " nimble minitest"
109
110
pkg " nimwc" , " nim c nimwc.nim"
110
- # pkg "nimx", "nim c --threads:on test/main.nim"
111
- # pkg "nitter", "nim c src/nitter.nim", "https://github.com/zedeus/nitter"
111
+ pkg " nimx" , " nim c --threads:on test/main.nim" , allowFailure = true
112
+ pkg " nitter" , " nim c src/nitter.nim" , " https://github.com/zedeus/nitter" , allowFailure = true
112
113
pkg " norm" , " nim c -r tests/sqlite/trows.nim"
113
114
pkg " npeg" , " nimble testarc"
114
115
pkg " numericalnim" , " nim c -r tests/test_integrate.nim"
@@ -150,7 +151,7 @@ pkg "unicodedb", "nim c -d:release -r tests/tests.nim"
150
151
pkg " unicodeplus" , " nim c -d:release -r tests/tests.nim"
151
152
pkg " unpack"
152
153
pkg " websocket" , " nim c websocket.nim"
153
- # pkg "winim"
154
+ pkg " winim" , allowFailure = true
154
155
pkg " with"
155
156
pkg " ws"
156
157
pkg " yaml" , " nim build"
0 commit comments