Skip to content

Commit

Permalink
Turns out it's the upload failing
Browse files Browse the repository at this point in the history
  • Loading branch information
cmillar-trunk committed Dec 18, 2024
1 parent 732d3c0 commit 61769f2
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions .github/actions/perform_smoke_test/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,17 @@ runs:
run: |
chmod +x ${{ inputs.cli-binary-location }}
- name: Run tests on staging
env:
TRUNK_PUBLIC_API_ADDRESS: https://api.trunk-staging.io
FAIL_TEST: true
shell: bash
run: |
./${{ inputs.cli-binary-location }} test \
--org-url-slug trunk-staging-org \
--junit-paths ${{ github.workspace }}/target/**/*junit.xml \
--token ${{ inputs.staging-api-token }} \
cargo nextest run -p smoke-test --profile ci
# - name: Run tests on staging
# env:
# TRUNK_PUBLIC_API_ADDRESS: https://api.trunk-staging.io
# FAIL_TEST: true
# shell: bash
# run: |
# ./${{ inputs.cli-binary-location }} test \
# --org-url-slug trunk-staging-org \
# --junit-paths ${{ github.workspace }}/target/**/*junit.xml \
# --token ${{ inputs.staging-api-token }} \
# cargo nextest run -p smoke-test --profile ci

# - name: Run tests on production
# env:
Expand All @@ -42,15 +42,15 @@ runs:
# --token ${{ inputs.production-api-token }} \
# cargo nextest run -p smoke-test --profile ci

# - name: Upload to staging
# env:
# TRUNK_PUBLIC_API_ADDRESS: https://api.trunk-staging.io
# shell: bash
# run: |
# ./${{ inputs.cli-binary-location }} upload \
# --org-url-slug trunk-staging-org \
# --junit-paths ${{ github.workspace }}/target/**/*junit.xml \
# --token ${{ inputs.staging-api-token }}
- name: Upload to staging
env:
TRUNK_PUBLIC_API_ADDRESS: https://api.trunk-staging.io
shell: bash
run: |
./${{ inputs.cli-binary-location }} upload \
--org-url-slug trunk-staging-org \
--junit-paths ${{ github.workspace }}/target/**/*junit.xml \
--token ${{ inputs.staging-api-token }}
# - name: Upload to production
# env:
Expand Down

0 comments on commit 61769f2

Please sign in to comment.