Skip to content

Commit 78f0a81

Browse files
authored
Track and upload LLVM.jl coverage in the Enzyme job (#661)
1 parent cdcd2fb commit 78f0a81

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

‎.github/workflows/Enzyme.yml‎

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,4 +86,13 @@ jobs:
8686
shell: julia --color=yes --project=downstream {0}
8787
run: |
8888
using Pkg
89-
Pkg.test(; coverage=true, julia_args=`--depwarn=no`)
89+
# track the LLVM.jl checkout (which contains the Enzyme checkout too), not just Enzyme
90+
Pkg.test(; coverage="@" * pwd(), julia_args=`--depwarn=no`)
91+
- uses: julia-actions/julia-processcoverage@v1
92+
if: steps.install.outputs.installable == 'true'
93+
- uses: codecov/codecov-action@v7
94+
if: steps.install.outputs.installable == 'true'
95+
with:
96+
token: ${{ secrets.CODECOV_TOKEN }}
97+
fail_ci_if_error: false
98+
file: lcov.info

0 commit comments

Comments
 (0)