Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions .github/actions/perform_smoke_test/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,8 @@ runs:
--org-url-slug trunk-staging-org \
--xcresult-path smoke-test/swift/TestResults.xcresult \
--token ${{ inputs.staging-api-token }} \
--test-process-exit-code $EXIT_CODE
--test-process-exit-code $EXIT_CODE \
--test-collection-short-id z2dzjLHm
env:
TRUNK_PUBLIC_API_ADDRESS: https://api.trunk-staging.io

Expand All @@ -104,7 +105,8 @@ runs:
./${{ inputs.cli-binary-location }} upload \
--org-url-slug trunk-staging-org \
--junit-paths "${{ github.workspace }}/target/**/*junit.xml" \
--token ${{ inputs.staging-api-token }}
--token ${{ inputs.staging-api-token }} \
--test-collection-short-id z2dzjLHm

- name: Upload to staging with public repo id
id: staging-upload-public-repo-id
Expand Down Expand Up @@ -136,7 +138,8 @@ runs:
--org-url-slug trunk-staging-org \
--junit-paths "${{ github.workspace }}/target/**/*junit.xml" \
--token ${{ inputs.staging-api-token }} \
--variant smoke-test-variant
--variant smoke-test-variant \
--test-collection-short-id z2dzjLHm
EXIT_CODE=$?
if [ $EXIT_CODE -eq 0 ]; then
echo "ERROR: Expected upload with variant to fail, but it succeeded"
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,8 @@ jobs:
--junit-paths ${{ github.workspace }}/target/**/*junit.xml \
--org-url-slug trunk-staging-org \
--token ${{ secrets.TRUNK_STAGING_ORG_API_TOKEN }} \
--test-process-exit-code ${{ steps.extract.outputs.test-step-outcome }}
--test-process-exit-code ${{ steps.extract.outputs.test-step-outcome }} \
--test-collection-short-id 2tYJWMu7

- name: Upload results to prod using built CLI
shell: bash
Expand Down
Loading