Skip to content

Commit 2809440

Browse files
committed
move coverage gen into the matrix
1 parent b8ead87 commit 2809440

File tree

1 file changed

+3
-15
lines changed

1 file changed

+3
-15
lines changed

.github/workflows/bevy_mod_scripting.yml

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -83,24 +83,12 @@ jobs:
8383
path: |
8484
**/lcov.*
8585
if-no-files-found: ignore
86-
87-
report-coverage:
88-
needs: check
89-
runs-on: ubuntu-latest
90-
continue-on-error: true
91-
permissions:
92-
pull-requests: write
93-
steps:
94-
- name: Download all lcov files
95-
uses: actions/download-artifact@v4
96-
with:
97-
merge-multiple: true
98-
pattern: lcov-*
99-
download-path: coverage
100-
- name: Install genhtml
86+
- name: Install lcov/genhtml
87+
if: ${{ matrix.run_args.os == 'ubuntu-latest' }}
10188
run: |
10289
sudo apt-get install lcov -y
10390
- name: Report code coverage
91+
if: ${{ matrix.run_args.os == 'ubuntu-latest' }}
10492
uses: zgosalvez/github-actions-report-lcov@v3
10593
with:
10694
coverage-files: |

0 commit comments

Comments
 (0)