From d5ef1c91ec97ea2cb0528328405c0941144f625b Mon Sep 17 00:00:00 2001 From: Alex Potsides Date: Fri, 27 Oct 2023 11:16:11 +0100 Subject: [PATCH] chore: update coverage file locations (#2176) Specify where codecov will load files from --- .github/workflows/main.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8614749237..1db32c6b53 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -48,8 +48,8 @@ jobs: - run: npm run --if-present test:node - uses: codecov/codecov-action@f32b3a3741e1053eb607407145bc9619351dc93b # v2.1.0 with: - directory: ./.nyc_output flags: node + files: .coverage/*,packages/*/.coverage/* test-chrome: needs: build @@ -63,8 +63,8 @@ jobs: - run: npm run --if-present test:chrome - uses: codecov/codecov-action@f32b3a3741e1053eb607407145bc9619351dc93b # v2.1.0 with: - directory: ./.nyc_output flags: chrome + files: .coverage/*,packages/*/.coverage/* test-chrome-webworker: needs: build @@ -78,8 +78,8 @@ jobs: - run: npm run --if-present test:chrome-webworker - uses: codecov/codecov-action@f32b3a3741e1053eb607407145bc9619351dc93b # v2.1.0 with: - directory: ./.nyc_output flags: chrome-webworker + files: .coverage/*,packages/*/.coverage/* test-firefox: needs: build @@ -93,8 +93,8 @@ jobs: - run: npm run --if-present test:firefox - uses: codecov/codecov-action@f32b3a3741e1053eb607407145bc9619351dc93b # v2.1.0 with: - directory: ./.nyc_output flags: firefox + files: .coverage/*,packages/*/.coverage/* test-firefox-webworker: needs: build @@ -108,8 +108,8 @@ jobs: - run: npm run --if-present test:firefox-webworker - uses: codecov/codecov-action@f32b3a3741e1053eb607407145bc9619351dc93b # v2.1.0 with: - directory: ./.nyc_output flags: firefox-webworker + files: .coverage/*,packages/*/.coverage/* test-webkit: needs: build @@ -124,8 +124,8 @@ jobs: - run: npm run --if-present test:webkit - uses: codecov/codecov-action@f32b3a3741e1053eb607407145bc9619351dc93b # v2.1.0 with: - directory: ./.nyc_output flags: webkit + files: .coverage/*,packages/*/.coverage/* test-electron-main: needs: build @@ -139,8 +139,8 @@ jobs: - run: npx xvfb-maybe npm run --if-present test:electron-main - uses: codecov/codecov-action@f32b3a3741e1053eb607407145bc9619351dc93b # v2.1.0 with: - directory: ./.nyc_output flags: electron-main + files: .coverage/*,packages/*/.coverage/* test-electron-renderer: needs: build @@ -154,8 +154,8 @@ jobs: - run: npx xvfb-maybe npm run --if-present test:electron-renderer - uses: codecov/codecov-action@f32b3a3741e1053eb607407145bc9619351dc93b # v2.1.0 with: - directory: ./.nyc_output flags: electron-renderer + files: .coverage/*,packages/*/.coverage/* test-interop: needs: build