Skip to content

Commit

Permalink
DO NOT MERGE: Hijack docc-test pipeline to test compat suite
Browse files Browse the repository at this point in the history
  • Loading branch information
simonjbeaumont committed Sep 13, 2023
1 parent e2dd19e commit c969660
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docker/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ services:
environment:
SWIFT_OPENAPI_GENERATOR_REPO_URL: file:///code

compatibility-test:
compatibility-test: &HACK
<<: *common
command: /bin/bash -xcl "cat /proc/cpuinfo && cat /proc/meminfo && swift test --parallel --num-workers $$(($$(nproc)-1)) --filter $${SWIFT_OPENAPI_COMPATIBILITY_TEST_FILTER}"
environment: # These can be overridden when running locally.
Expand All @@ -52,8 +52,8 @@ services:
SWIFT_OPENAPI_COMPATIBILITY_TEST_PARALLEL_CODEGEN: true
SWIFT_OPENAPI_COMPATIBILITY_TEST_NUM_BUILD_JOBS: 1

docc-test:
<<: *common
command: /bin/bash -xcl "swift -version && uname -a && bash ./scripts/check-for-docc-warnings.sh"
environment:
DOCC_TARGET: swift-openapi-generator
docc-test: *HACK
# <<: *common
# command: /bin/bash -xcl "swift -version && uname -a && bash ./scripts/check-for-docc-warnings.sh"
# environment:
# DOCC_TARGET: swift-openapi-generator

0 comments on commit c969660

Please sign in to comment.