Skip to content

Commit

Permalink
Run run-integration-test.sh as part of soundness.sh
Browse files Browse the repository at this point in the history
Signed-off-by: Si Beaumont <[email protected]>
  • Loading branch information
simonjbeaumont committed Jun 8, 2023
1 parent 068ddf3 commit 70d062b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,7 @@ RUN echo 'export PATH="$HOME/.tools:$PATH"' >> $HOME/.profile
ARG swiftformat_version=508.0.0
RUN git clone --branch $swiftformat_version --depth 1 https://github.com/apple/swift-format $HOME/.tools/swift-format-source
RUN cd $HOME/.tools/swift-format-source && swift build -c release
RUN ln -s $HOME/.tools/swift-format-source/.build/release/swift-format $HOME/.tools/swift-format
RUN ln -s $HOME/.tools/swift-format-source/.build/release/swift-format $HOME/.tools/swift-format

# jq
RUN apt-get install -y jq
2 changes: 2 additions & 0 deletions docker/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ services:
soundness:
<<: *common
command: /bin/bash -xcl "swift -version && uname -a && ./scripts/soundness.sh"
environment:
SWIFT_OPENAPI_GENERATOR_REPO_URL: file:///code

test:
<<: *common
Expand Down
1 change: 1 addition & 0 deletions scripts/soundness.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ SCRIPT_PATHS=(
"${CURRENT_SCRIPT_DIR}/check-license-headers.sh"
"${CURRENT_SCRIPT_DIR}/run-swift-format.sh"
"${CURRENT_SCRIPT_DIR}/check-for-docc-warnings.sh"
"${CURRENT_SCRIPT_DIR}/run-integration-test.sh"
)

for SCRIPT_PATH in "${SCRIPT_PATHS[@]}"; do
Expand Down

0 comments on commit 70d062b

Please sign in to comment.