Skip to content

Commit b413765

Browse files
authored
maybe fixup main coverage diff (#18645)
maybe fixup `main` coverage diff
1 parent 7759619 commit b413765

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ jobs:
292292
- name: Coverage report (diff)
293293
if: (github.base_ref != '' || github.event.before != '') && always()
294294
env:
295-
compare-branch: ${{ github.base_ref == '' && steps.parent-commit.hash || format('origin/{0}', github.base_ref) }}
295+
compare-branch: ${{ github.base_ref == '' && steps.parent-commit.outputs.hash || format('origin/{0}', github.base_ref) }}
296296
run: |
297297
set -o pipefail
298298
diff-cover --config-file=.diffcover.toml --compare-branch=${{ env.compare-branch }} --fail-under=100 --html-report=coverage-reports/diff-cover.html --markdown-report=coverage-reports/diff-cover.md coverage-reports/coverage.xml | tee coverage-reports/diff-cover-stdout

0 commit comments

Comments
 (0)