Skip to content

Commit 43eb025

Browse files
authored
Skip Aqua stale deps check in downstream tests (#215)
1 parent c8ffe04 commit 43eb025

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/downstream.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ jobs:
6363
# force it to use this PR's version of the package
6464
Pkg.develop(PackageSpec(path=".")) # resolver may fail with main deps
6565
Pkg.update()
66-
Pkg.test(; coverage = true) # resolver may fail with test time deps
66+
Pkg.test(; coverage = true, test_args=["--downstream_integration_test"]) # resolver may fail with test time deps
6767
catch err
6868
err isa Pkg.Resolve.ResolverError || rethrow()
6969
# If we can't resolve that means this is incompatible by SemVer and this is fine

test/runtests.jl

+3-1
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@ using BlockBandedMatrices
22
using Test
33

44
import Aqua
5+
downstream_test = "--downstream_integration_test" in ARGS
56
@testset "Project quality" begin
6-
Aqua.test_all(BlockBandedMatrices, ambiguities=false, piracies=false)
7+
Aqua.test_all(BlockBandedMatrices, ambiguities=false, piracies=false,
8+
stale_deps=!downstream_test)
79
end
810

911
using Documenter

0 commit comments

Comments
 (0)