Skip to content

Commit e4311a5

Browse files
markphelpsmichaeldwan
authored andcommitted
Set COG_STATIC_SCHEMA=1 in accept integration tests
1 parent 76a26ff commit e4311a5

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

integration-tests/tests/accept_mime_type.txtar

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
# - Fields without accept do not have x-cog-accept
99
# - Prediction still works end-to-end
1010

11+
env COG_STATIC_SCHEMA=1
12+
1113
cog build -t $TEST_IMAGE
1214

1315
# Extract the schema from the image label

integration-tests/tests/accept_mime_type_error.txtar

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
# The accept parameter is only valid on Path or File inputs. Using it on
44
# str, int, float, etc. should produce a clear error at build time.
55

6+
env COG_STATIC_SCHEMA=1
7+
68
! cog build -t $TEST_IMAGE
79
stderr 'accept is only valid on Path or File inputs'
810

0 commit comments

Comments
 (0)