Skip to content

Commit eb49851

Browse files
authored
Include coverage from downstream tests (#48)
Similar to JuliaApproximation/ApproxFunBase.jl#199
1 parent 5694e7e commit eb49851

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
@@ -41,7 +41,7 @@ jobs:
4141
# force it to use this PR's version of the package
4242
Pkg.develop(PackageSpec(path=".")) # resolver may fail with main deps
4343
Pkg.update()
44-
Pkg.test() # resolver may fail with test time deps
44+
Pkg.test(; coverage = true) # resolver may fail with test time deps
4545
catch err
4646
err isa Pkg.Resolve.ResolverError || rethrow()
4747
# If we can't resolve that means this is incompatible by SemVer and this is fine
@@ -50,3 +50,7 @@ jobs:
5050
@info "Not compatible with this release. No problem." exception=err
5151
exit(0) # Exit immediately, as a success
5252
end
53+
- uses: julia-actions/julia-processcoverage@v1
54+
- uses: codecov/codecov-action@v2
55+
with:
56+
files: lcov.info

0 commit comments

Comments
 (0)