Skip to content

Commit 0187559

Browse files
improve coverage GHA (#373)
`julia-actions/julia-processcoverage@v1` step logs are not finding files now!
1 parent 9b5ee66 commit 0187559

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/Coverage.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
path: |
4040
~/.julia
4141
~/.julia/artifacts
42-
key: ${{ runner.os }}-julia-${{ matrix.version }}-${{ matrix.arch }}-${{ hashFiles('JuliaBUGS/**/Project.toml', 'JuliaBUGS/**/Manifest.toml') }}
42+
key: ${{ runner.os }}-julia-${{ matrix.version }}-${{ matrix.arch }}-${{ hashFiles('JuliaBUGS/Project.toml', 'JuliaBUGS/Manifest.toml') }}
4343
restore-keys: |
4444
${{ runner.os }}-julia-${{ matrix.version }}-${{ matrix.arch }}-
4545
${{ runner.os }}-julia-${{ matrix.version }}-
@@ -57,13 +57,14 @@ jobs:
5757

5858
- uses: julia-actions/julia-processcoverage@v1
5959
with:
60-
directories: JuliaBUGS
60+
directories: JuliaBUGS/src,JuliaBUGS/ext
6161

6262
- uses: codecov/codecov-action@v4
6363
with:
64-
file: ./lcov.info
64+
token: ${{ secrets.CODECOV_TOKEN }}
65+
fail_ci_if_error: true
6566

66-
- uses: coverallsapp/github-action@master
67+
- uses: coverallsapp/github-action@v2
6768
with:
6869
github-token: ${{ secrets.GITHUB_TOKEN }}
6970
path-to-lcov: ./lcov.info

0 commit comments

Comments
 (0)