We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7d0cb2 commit 64c4a81Copy full SHA for 64c4a81
.github/workflows/node.yml
@@ -81,4 +81,14 @@ jobs:
81
if: steps.test_units.outcome == 'failure'
82
run: |
83
echo "::notice::Run \`npm run test:unit\` in your dev environment for a detailed report about failed unit tests"
84
+ exit 1
85
+ - name: Ensure all units are covered
86
+ if: steps.changed-files.outputs.any_changed == 'true'
87
+ id: test_unit_missing
88
+ run: npm run test:unit:missing
89
+ continue-on-error: true
90
+ - name: If there are missing unit tests, highlight debug tools
91
+ if: steps.test_unit_missing.outcome == 'failure'
92
+ run: |
93
+ echo "::notice::Run \`npm run test:unit -- run && npm run test:unit:missing\` in your dev environment to see which units are missing a test companion"
94
exit 1
0 commit comments