Skip to content

Commit bc258a8

Browse files
authored
Include downstream in computing coverage (#105)
1 parent 392e384 commit bc258a8

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/downstream.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
# force it to use this PR's version of the package
4343
Pkg.develop(PackageSpec(path=".")) # resolver may fail with main deps
4444
Pkg.update()
45-
Pkg.test() # resolver may fail with test time deps
45+
Pkg.test(; coverage=true) # resolver may fail with test time deps
4646
catch err
4747
err isa Pkg.Resolve.ResolverError || rethrow()
4848
# If we can't resolve that means this is incompatible by SemVer and this is fine
@@ -51,3 +51,7 @@ jobs:
5151
@info "Not compatible with this release. No problem." exception=err
5252
exit(0) # Exit immediately, as a success
5353
end
54+
- uses: julia-actions/julia-processcoverage@v1
55+
- uses: codecov/codecov-action@v2
56+
with:
57+
files: lcov.info

0 commit comments

Comments
 (0)