Skip to content

Commit 876b237

Browse files
committed
refine matrix
1 parent ba36907 commit 876b237

File tree

2 files changed

+5
-11
lines changed

2 files changed

+5
-11
lines changed

.github/workflows/pull_request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
uses: examples_matrix.yml
3030
with:
3131
name: "Integration tests"
32-
matrix_linux_command: "pushd Examples/$EXAMPLE && LAMBDA_USE_LOCAL_DEPS=../.. swift build && popd"
32+
matrix_linux_command: "LAMBDA_USE_LOCAL_DEPS=../.. swift build"
3333

3434
swift-6-language-mode:
3535
name: Swift 6 Language Mode

scripts/integration_tests.sh

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,6 @@
1313
##
1414
##===----------------------------------------------------------------------===##
1515

16-
# set +x -e
17-
18-
# for EXAMPLE in $(find Examples -type d -d 1);
19-
# do
20-
# echo "Building $EXAMPLE"
21-
# pushd $EXAMPLE
22-
# LAMBDA_USE_LOCAL_DEPS=../.. swift build
23-
# popd
24-
# done
25-
2616
set -euo pipefail
2717

2818
log() { printf -- "** %s\n" "$*" >&2; }
@@ -38,6 +28,8 @@ command_nightly_6_0="$COMMAND_OVERRIDE_NIGHTLY_6_0"
3828
command_nightly_main="$COMMAND_OVERRIDE_NIGHTLY_MAIN"
3929
example="$EXAMPLE"
4030

31+
pushd Examples/"$example" > /dev/null
32+
4133
if [[ "$swift_version" == "nightly-6.0" ]] && [[ -n "$command_nightly_6_0" ]]; then
4234
log "Running nightly 6.0 command override"
4335
eval "$command_nightly_6_0"
@@ -48,3 +40,5 @@ else
4840
log "Running default command"
4941
eval "$command"
5042
fi
43+
44+
popd

0 commit comments

Comments
 (0)