Skip to content

Commit 153b713

Browse files
authored
chore: Run protocol tests with downstream CI builds (#833)
1 parent 5214bdd commit 153b713

File tree

1 file changed

+19
-2
lines changed

1 file changed

+19
-2
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ jobs:
177177
run: |
178178
cd ../aws-sdk-swift
179179
./scripts/ci_steps/prepare_protocol_and_unit_tests.sh
180-
- name: Build and Run aws-sdk-swift Protocol & Unit Tests
180+
- name: Build and Run aws-sdk-swift Unit Tests
181181
run: |
182182
cd ../aws-sdk-swift
183183
set -o pipefail && \
@@ -186,6 +186,16 @@ jobs:
186186
-destination '${{ matrix.destination }}' \
187187
test 2>&1 \
188188
| xcbeautify
189+
- name: Build and Run aws-sdk-swift Protocol Tests
190+
run: |
191+
cd ../aws-sdk-swift/codegen
192+
set -o pipefail && \
193+
NSUnbufferedIO=YES xcodebuild \
194+
-scheme aws-sdk-swift-protocol-tests-Package \
195+
-testPlan ProtocolTestPlan \
196+
-destination '${{ matrix.destination }}' \
197+
test 2>&1 \
198+
| xcbeautify
189199
190200
linux-ci:
191201
runs-on: ubuntu-latest
@@ -311,8 +321,15 @@ jobs:
311321
run: |
312322
cd ../aws-sdk-swift
313323
./scripts/ci_steps/prepare_protocol_and_unit_tests.sh
314-
- name: Build and Run aws-sdk-swift Protocol & Unit Tests
324+
- name: Build and Run aws-sdk-swift Unit Tests
315325
run: |
316326
cd ../aws-sdk-swift
317327
swift test
328+
- name: Build and Run aws-sdk-swift Protocol Tests
329+
run: |
330+
export AWS_REGION=us-west-2
331+
export AWS_ACCESS_KEY_ID=test-key-id
332+
export AWS_SECRET_ACCESS_KEY=test-secret-access-key
333+
cd ../aws-sdk-swift/codegen
334+
swift test
318335

0 commit comments

Comments
 (0)