Skip to content

Commit 294b6e4

Browse files
committed
chore: add logs in coverage step
1 parent 5b4e1b4 commit 294b6e4

File tree

1 file changed

+28
-16
lines changed

1 file changed

+28
-16
lines changed

.github/workflows/pr-test.yml

Lines changed: 28 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ jobs:
188188
run: npm run compile:ci:changed
189189
- name: Unit tests (Delta)
190190
run: npm run test:ci:changed
191-
- name: Unit tests (Delta)
191+
- name: Test All Versions (Delta)
192192
run: npm run test-all-versions:ci:changed
193193
# TODO: save coverage for later
194194
- name: Upload Test Artifacts
@@ -199,24 +199,36 @@ jobs:
199199
if-no-files-found: error
200200
retention-days: 1
201201
path: |
202+
!node_modules
202203
**/.nyc_output/**
203204
**/coverage/**
204205
# TODO: how to put back everythign in coverage???
205-
# test-coverage-report:
206-
# runs-on: ubuntu-latest
207-
# steps:
208-
# - name: Download Test Artifacts
209-
# uses: actions/download-artifact@v4
210-
# with:
211-
# name: tests-build-cache-${{ github.run_number }}
212-
# path: .nx
213-
214-
# - name: Report Coverage
215-
# uses: codecov/codecov-action@v5
216-
# env:
217-
# CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
218-
# with:
219-
# verbose: true
206+
test-coverage-report:
207+
runs-on: ubuntu-latest
208+
steps:
209+
- name: Download Test Artifacts (18)
210+
uses: actions/download-artifact@v4
211+
with:
212+
name: tests-coverage-cache-${{ github.run_number }}-18
213+
path: .
214+
- name: Download Test Artifacts (20)
215+
uses: actions/download-artifact@v4
216+
with:
217+
name: tests-coverage-cache-${{ github.run_number }}-20
218+
path: .
219+
- name: Download Test Artifacts (22)
220+
uses: actions/download-artifact@v4
221+
with:
222+
name: tests-coverage-cache-${{ github.run_number }}-22
223+
path: .
224+
- name: List all directories
225+
run: find . -type d
226+
# - name: Report Coverage
227+
# uses: codecov/codecov-action@v5
228+
# env:
229+
# CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
230+
# with:
231+
# verbose: true
220232

221233
# browser-test:
222234
# needs: build-and-cache

0 commit comments

Comments
 (0)