Skip to content

Commit

Permalink
Use ignore-parent-failures-on-subtests=true
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaszcl committed Feb 27, 2025
1 parent 92461f1 commit dd725e5
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/flakeguard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,19 @@ jobs:
GH_INPUTS_MAX_PASS_RATIO: ${{ inputs.maxPassRatio }}
CL_DATABASE_URL: ${{ env.DB_URL }}
run: |
flakeguard run --project-path=$GH_INPUTS_PROJECT_PATH --test-packages=${{ matrix.testPackages }} --run-count=${{ env.TEST_REPEAT_COUNT }} --max-pass-ratio=$GH_INPUTS_MAX_PASS_RATIO --race=${{ env.RUN_WITH_RACE }} --shuffle=${{ env.RUN_WITH_SHUFFLE }} --shuffle-seed=${{ env.SHUFFLE_SEED }} --skip-tests=${{ env.SKIPPED_TESTS }} --output-json=test-result.json --omit-test-outputs-on-success=${{ env.OMIT_TEST_OUTPUTS_ON_SUCCESS }}
flakeguard run \
--ignore-parent-failures-on-subtests=true \
--project-path=$GH_INPUTS_PROJECT_PATH \
--test-packages=${{ matrix.testPackages }} \
--run-count=${{ env.TEST_REPEAT_COUNT }} \
--max-pass-ratio=$GH_INPUTS_MAX_PASS_RATIO \
--race=${{ env.RUN_WITH_RACE }} \
--shuffle=${{ env.RUN_WITH_SHUFFLE }} \
--shuffle-seed=${{ env.SHUFFLE_SEED }} \
--skip-tests=${{ env.SKIPPED_TESTS }} \
--output-json=test-result.json \
--omit-test-outputs-on-success=${{ env.OMIT_TEST_OUTPUTS_ON_SUCCESS }}
# Output the status of the flakeguard run to files so that the next step can aggregate them and act accordingly
EXIT_CODE=$?
echo "$EXIT_CODE" > status_${GITHUB_JOB}.txt
Expand Down

0 comments on commit dd725e5

Please sign in to comment.