Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 25e34b5

Browse files
committedNov 26, 2024
fix errors
1 parent acae871 commit 25e34b5

File tree

2 files changed

+35
-1
lines changed

2 files changed

+35
-1
lines changed
 

‎.github/workflows/pull_request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
with:
5555
persist-credentials: false
5656
- name: Check for Semantic Version label
57-
uses: apple/swift-nio/.github/actions/pull_request_semver_label_checker@main
57+
uses: apple/swift-nio/.github/actions/pull_request_semver_label_checker@main
5858

5959
# until there is a support for musl in swiftlang/github-workflows
6060
# https://github.com/swiftlang/github-workflows/issues/34

‎scripts/integration_tests.sh

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
#!/bin/bash
2+
##===----------------------------------------------------------------------===##
3+
##
4+
## This source file is part of the SwiftAWSLambdaRuntime open source project
5+
##
6+
## Copyright (c) 2017-2018 Apple Inc. and the SwiftAWSLambdaRuntime project authors
7+
## Licensed under Apache License v2.0
8+
##
9+
## See LICENSE.txt for license information
10+
## See CONTRIBUTORS.txt for the list of SwiftAWSLambdaRuntime project authors
11+
##
12+
## SPDX-License-Identifier: Apache-2.0
13+
##
14+
##===----------------------------------------------------------------------===##
15+
16+
set -euo pipefail
17+
18+
log() { printf -- "** %s\n" "$*" >&2; }
19+
error() { printf -- "** ERROR: %s\n" "$*" >&2; }
20+
fatal() { error "$@"; exit 1; }
21+
22+
test -n "${SWIFT_VERSION:-}" || fatal "SWIFT_VERSION unset"
23+
test -n "${COMMAND:-}" || fatal "COMMAND unset"
24+
test -n "${EXAMPLE:-}" || fatal "EXAMPLE unset"
25+
swift_version="$SWIFT_VERSION"
26+
command="$COMMAND"
27+
example="$EXAMPLE"
28+
29+
pushd Examples/"$example" > /dev/null
30+
31+
log "Running command with Swift $SWIFT_VERSION"
32+
eval "$command"
33+
34+
popd

0 commit comments

Comments
 (0)
Please sign in to comment.