ci: output complement diff results to job summary, temp allow error

Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
strawberry 2024-05-02 13:00:47 -04:00 committed by June
parent 05b7dec482
commit a7c14a861b

View file

@ -110,10 +110,18 @@ jobs:
path: complement_test_results.jsonl path: complement_test_results.jsonl
if-no-files-found: error if-no-files-found: error
# TODO: figure out why our complement results are not 100% consistent - name: Diff Complement results with checked-in repo results
#- name: Diff Complement results with checked-in repo results # TODO: figure out why our complement results are not 100% consistent so we don't need to allow failures
# run: | continue-on-error: true
# diff -u --color=always complement_test_results.jsonl tests/test_results/complement/test_results.jsonl > >(tee -a test_output.log) run: |
diff -u --color=always complement_test_results.jsonl tests/test_results/complement/test_results.jsonl > >(tee -a complement_test_output.log)
- name: Add Complement diff result to Job Summary
run: |
echo '# Complement diff results' >> $GITHUB_STEP_SUMMARY
echo '```diff' >> $GITHUB_STEP_SUMMARY
tail -n 50 complement_test_output.log | sed 's/\x1b\[[0-9;]*m//g' >> $GITHUB_STEP_SUMMARY
echo '```' >> $GITHUB_STEP_SUMMARY
- name: Update Job Summary - name: Update Job Summary
if: success() || failure() if: success() || failure()