From 61769f20484a06698439c5149fa6ecf90e26121c Mon Sep 17 00:00:00 2001 From: Christian Millar Date: Wed, 18 Dec 2024 16:51:13 +0000 Subject: [PATCH] Turns out it's the upload failing --- .../actions/perform_smoke_test/action.yaml | 40 +++++++++---------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/.github/actions/perform_smoke_test/action.yaml b/.github/actions/perform_smoke_test/action.yaml index 10f433e1..0b7dfce0 100644 --- a/.github/actions/perform_smoke_test/action.yaml +++ b/.github/actions/perform_smoke_test/action.yaml @@ -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: @@ -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: