Skip to content

Commit

Permalink
[forge] Turn off junit until fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
perryjrandall committed Nov 5, 2024
1 parent f20aa14 commit b6f467d
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions .github/workflows/workflow-run-forge.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ env:
VERBOSE: true
FORGE_NUM_VALIDATORS: ${{ inputs.FORGE_NUM_VALIDATORS }}
FORGE_NUM_VALIDATOR_FULLNODES: ${{ inputs.FORGE_NUM_VALIDATOR_FULLNODES }}
FORGE_JUNIT_XML_PATH: ${{ inputs.SEND_RESULTS_TO_TRUNK && '/tmp/test.xml' || '' }}
# FORGE_JUNIT_XML_PATH: ${{ inputs.SEND_RESULTS_TO_TRUNK && '/tmp/test.xml' || '' }}

# TODO: should we migrate this to a composite action, so that we can skip it
# at the call site, and don't need to wrap each step in an if statement?
Expand Down Expand Up @@ -234,13 +234,14 @@ jobs:
- run: echo "Skipping forge test!"
if: ${{ inputs.SKIP_JOB }}

- name: Upload results
# Run this step even if the test step ahead fails
if: ${{ !inputs.SKIP_JOB && inputs.SEND_RESULTS_TO_TRUNK && !cancelled() }}
uses: trunk-io/analytics-uploader@main
with:
# Configured in the nextest.toml file
junit-paths: ${{ env.FORGE_JUNIT_XML_PATH }}
org-slug: aptoslabs
token: ${{ secrets.TRUNK_API_TOKEN }}
continue-on-error: true
# TEMP disable till fixed
# - name: Upload results
# # Run this step even if the test step ahead fails
# if: ${{ !inputs.SKIP_JOB && inputs.SEND_RESULTS_TO_TRUNK && !cancelled() }}
# uses: trunk-io/analytics-uploader@main
# with:
# # Configured in the nextest.toml file
# junit-paths: ${{ env.FORGE_JUNIT_XML_PATH }}
# org-slug: aptoslabs
# token: ${{ secrets.TRUNK_API_TOKEN }}
# continue-on-error: true

0 comments on commit b6f467d

Please sign in to comment.