Skip to content

Commit

Permalink
Remove build before test, fix bash string expansion
Browse files Browse the repository at this point in the history
  • Loading branch information
jbelkins committed May 6, 2024
1 parent 403021d commit f9b13b9
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,20 +98,12 @@ jobs:
run: ./scripts/ci_steps/log_tool_versions.sh
- name: Add Credentials to Test Plan
run: |
jq '.defaultOptions.environmentVariableEntries += [{"key": "AWS_ACCESS_KEY_ID", "value": "$AWS_ACCESS_KEY_ID"}, {"key": "AWS_SECRET_ACCESS_KEY", "value": "$AWS_SECRET_ACCESS_KEY"}, {"key": "AWS_DEFAULT_REGION", "value": "$AWS_DEFAULT_REGION"}]' TestPlans/AWSIntegrationTestsOnCI.xctestplan > testplan.tmp
jq ".defaultOptions.environmentVariableEntries += [{\"key\": \"AWS_ACCESS_KEY_ID\", \"value\": \"$AWS_ACCESS_KEY_ID\"}, {\"key\": \"AWS_SECRET_ACCESS_KEY\", \"value\": \"$AWS_SECRET_ACCESS_KEY\"}, {\"key\": \"AWS_DEFAULT_REGION\", \"value\": \"$AWS_DEFAULT_REGION\"}]" TestPlans/AWSIntegrationTestsOnCI.xctestplan > testplan.tmp
mv testplan.tmp TestPlans/AWSIntegrationTestsOnCI.xctestplan
- name: Prepare Integration Tests
run: ./scripts/ci_steps/prepare_integration_tests.sh
- name: List Schemes
run: xcodebuild -list
- name: Build Integration Tests
run: |
set -o pipefail && \
NSUnbufferedIO=YES xcodebuild \
-scheme AWSIntegrationTestsOnCI \
-destination '${{ matrix.destination }}' \
build 2>&1 #\
#| xcpretty
- name: Run Integration Tests
run: |
set -o pipefail && \
Expand Down

0 comments on commit f9b13b9

Please sign in to comment.