Closed flackr closed 5 months ago
@johannesodland I'm hoping this helps reduce the churn with multiple PRs
Maybe we could add the summary line to the workflow summary?
- name: Adding summary
run: echo "Passed $(grep -c '^PASS' ./test/report/summary.txt) of $(grep -c '^' ./test/report/summary.txt) tests" >> $GITHUB_STEP_SUMMARY
Maybe we could add the summary line to the workflow summary?
- name: Adding summary run: echo "Passed $(grep -c '^PASS' ./test/report/summary.txt) of $(grep -c '^' ./test/report/summary.txt) tests" >> $GITHUB_STEP_SUMMARY
Great suggestion, I've added this step as suggested.
Having the summary line leads to every PR which alters test expectations conflicting with every other PR which alters them. The summary can be computed by grepping the PASS / FAIL lines anyways so this should reduce the number of merge conflicts to only cases where the same sets of test expectations changed.