Skip to content

Commit 87d3063

Browse files
Enable formatter checks for all shards
1 parent 6a090e0 commit 87d3063

File tree

2 files changed

+50
-4
lines changed

2 files changed

+50
-4
lines changed

test/athena.bats

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,3 +55,8 @@ function test_component() {
5555
@test "validator" {
5656
test_component "validator"
5757
}
58+
59+
# bats test_tags=format
60+
@test "format athena-framework/athena" {
61+
check_crystal_format https://github.com/athena-framework/athena
62+
}

test/libraries.bats

Lines changed: 45 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,11 @@ function setup() {
5252
crystal_spec
5353
}
5454

55+
# bats test_tags=format
56+
@test "format ysbaddaden/pool" {
57+
check_crystal_format https://github.com/ysbaddaden/pool
58+
}
59+
5560
@test "luckyframework/habitat" {
5661
shard_checkout https://github.com/luckyframework/habitat
5762

@@ -92,6 +97,11 @@ function setup() {
9297
crystal_spec
9398
}
9499

100+
# bats test_tags=format
101+
@test "format schovi/baked_file_system" {
102+
check_crystal_format https://github.com/schovi/baked_file_system
103+
}
104+
95105
@test "jeromegn/kilt" {
96106
skip "Liquid spec is broken (https://github.com/jeromegn/kilt/issues/30)"
97107
skiponwindows "Does not build"
@@ -100,12 +110,22 @@ function setup() {
100110
crystal_spec
101111
}
102112

113+
# bats test_tags=format
114+
@test "format jeromegn/kilt" {
115+
check_crystal_format https://github.com/jeromegn/kilt
116+
}
117+
103118
@test "sumpycr/stumpy_core" {
104119
shard_checkout https://github.com/stumpycr/stumpy_core
105120

106121
crystal_spec
107122
}
108123

124+
# bats test_tags=format
125+
@test "format sumpycr/stumpy_core" {
126+
check_crystal_format https://github.com/stumpycr/stumpy_core
127+
}
128+
109129
@test "luckyframework/lucky_task" {
110130
shard_checkout https://github.com/luckyframework/lucky_task
111131

@@ -125,7 +145,6 @@ function setup() {
125145

126146
# bats test_tags=format
127147
@test "format spider-gazelle/bindata" {
128-
skip "Formatting not up to date"
129148
check_crystal_format https://github.com/spider-gazelle/bindata
130149
}
131150

@@ -216,6 +235,11 @@ function setup() {
216235
crystal_spec
217236
}
218237

238+
# bats test_tags=format
239+
@test "format kostya/lexbor" {
240+
check_crystal_format https://github.com/kostya/lexbor
241+
}
242+
219243
@test "icyleaf/halite" {
220244
skiponwindows "Specs are failing"
221245
shard_checkout https://github.com/icyleaf/halite
@@ -225,7 +249,6 @@ function setup() {
225249

226250
# bats test_tags=format
227251
@test "format icyleaf/halite" {
228-
skip "Formatting not up to date"
229252
check_crystal_format https://github.com/icyleaf/halite
230253
}
231254

@@ -235,6 +258,11 @@ function setup() {
235258
crystal_spec
236259
}
237260

261+
# bats test_tags=format
262+
@test "format jwaldrip/admiral.cr" {
263+
check_crystal_format https://github.com/jwaldrip/admiral.cr
264+
}
265+
238266
@test "jeromegn/slang" {
239267
if [[ "$(crystal env CRYSTAL_VERSION)" =~ ^0\.|^1\.[0-8]\. ]]; then
240268
skiponwindows "Compiler bug in Crystal < 1.9"
@@ -246,6 +274,11 @@ function setup() {
246274
crystal_spec
247275
}
248276

277+
# bats test_tags=format
278+
@test "format jeromegn/slang" {
279+
check_crystal_format https://github.com/jeromegn/slang
280+
}
281+
249282
@test "vladfaust/time_format.cr" {
250283
shard_checkout https://github.com/vladfaust/time_format.cr
251284

@@ -277,7 +310,6 @@ function setup() {
277310

278311
# bats test_tags=format
279312
@test "format crystal-community/msgpack-crystal" {
280-
skip "Formatting not up to date"
281313
check_crystal_format https://github.com/crystal-community/msgpack-crystal
282314
}
283315

@@ -288,12 +320,22 @@ function setup() {
288320
crystal_spec
289321
}
290322

323+
# bats test_tags=format
324+
@test "format spider-gazelle/openssl_ext" {
325+
check_crystal_format https://github.com/spider-gazelle/openssl_ext
326+
}
327+
291328
@test "gdotdesign/cr-dotenv" {
292329
shard_checkout https://github.com/gdotdesign/cr-dotenv
293330

294331
crystal_spec
295332
}
296333

334+
# bats test_tags=format
335+
@test "format gdotdesign/cr-dotenv" {
336+
check_crystal_format https://github.com/gdotdesign/cr-dotenv
337+
}
338+
297339
@test "maiha/pretty.cr" {
298340
skip "Specs are failing"
299341
shard_checkout https://github.com/maiha/pretty.cr
@@ -303,7 +345,6 @@ function setup() {
303345

304346
# bats test_tags=format
305347
@test "format maiha/pretty.cr" {
306-
skip "Formatting not up to date"
307348
check_crystal_format https://github.com/maiha/pretty.cr
308349
}
309350

0 commit comments

Comments
 (0)