Skip to content

Commit 013f3ce

Browse files
fix: always upload codecov results in GHA workflows (#630)
## PR Checklist - [x] Addresses an existing open issue: fixes #523 - [x] That issue was marked as [`status: accepting prs`](https://github.com/JoshuaKGoldberg/template-typescript-node-package/issues?q=is%3Aopen+is%3Aissue+label%3A%22status%3A+accepting+prs%22) - [x] Steps in [CONTRIBUTING.md](https://github.com/JoshuaKGoldberg/template-typescript-node-package/blob/main/.github/CONTRIBUTING.md) were taken ## Overview As requested by the issue.
1 parent c59a693 commit 013f3ce

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

.github/workflows/hydrate.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ jobs:
1111
with:
1212
files: coverage-hydrate/lcov.info
1313
flags: hydrate
14-
- name: Archive code coverage results
14+
- if: always()
15+
name: Archive code coverage results
1516
uses: actions/upload-artifact@v3
1617
with:
1718
path: coverage-hydrate

.github/workflows/setup.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ jobs:
1111
with:
1212
files: coverage-setup/lcov.info
1313
flags: setup
14-
- name: Archive code coverage results
14+
- if: always()
15+
name: Archive code coverage results
1516
uses: actions/upload-artifact@v3
1617
with:
1718
path: coverage-setup

.github/workflows/test.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ jobs:
99
uses: codecov/codecov-action@v3
1010
with:
1111
flags: unit
12-
- name: Archive code coverage results
12+
- if: always()
13+
name: Archive code coverage results
1314
uses: actions/upload-artifact@v3
1415
with:
1516
name: code-coverage-report

0 commit comments

Comments
 (0)