From 8e15d2337c3552a1b2559a3c68147f7d4d25ca5e Mon Sep 17 00:00:00 2001 From: Avik Pal Date: Sat, 20 Jul 2024 15:17:34 -0700 Subject: [PATCH] ci: downstream code-coverage fix --- .buildkite/scripts/downstream.jl | 2 +- .github/workflows/CI.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.buildkite/scripts/downstream.jl b/.buildkite/scripts/downstream.jl index 2948deb..2eac2ce 100644 --- a/.buildkite/scripts/downstream.jl +++ b/.buildkite/scripts/downstream.jl @@ -14,7 +14,7 @@ withenv("JULIA_PKG_PRECOMPILE_AUTO" => 0, "GROUP" => group, "BACKEND_GROUP" => g try Pkg.develop(repo) println("+++ :julia: Running tests") - Pkg.test("$(repo)"; coverage=true) + Pkg.test("$(repo)"; coverage="user") catch err err isa Pkg.Resolve.ResolverError || rethrow() @info "Not compatible with this release. No problem." exception=err diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index c8d8718..4f3f832 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -96,7 +96,7 @@ jobs: # force it to use this PR's version of the package Pkg.develop(PackageSpec(path=".")) # resolver may fail with main deps Pkg.update() - Pkg.test(; coverage=true) # resolver may fail with test time deps + Pkg.test(; coverage="user") # resolver may fail with test time deps catch err err isa Pkg.Resolve.ResolverError || rethrow() # If we can't resolve that means this is incompatible by SemVer and this is fine