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 da4b962 commit 92ee908Copy full SHA for 92ee908
.github/workflows/test.yml
@@ -273,10 +273,18 @@ jobs:
273
with:
274
name: tests-coverage-cache-${{ github.run_number }}-22
275
path: .
276
+ # Note: see comment in the compile job
277
+ - name: Set base and head commits
278
+ run: |
279
+ if [ "${{github.event_name}}" == "push" ]; then
280
+ echo "NX_BASE=origin/main~1" >> "$GITHUB_ENV"
281
+ echo "NX_HEAD=origin/main" >> "$GITHUB_ENV"
282
+ else
283
+ echo "NX_BASE=origin/main" >> "$GITHUB_ENV"
284
+ echo "NX_HEAD=HEAD" >> "$GITHUB_ENV"
285
+ fi
286
- name: Merge coverage (Delta)
287
run: npm run test-merge-coverage:ci:affected
- - name: Check coverage
- run: find . | grep coverage-final
288
- name: Report Coverage
289
uses: codecov/codecov-action@v5
290
env:
0 commit comments