Skip to content

Commit 15c4030

Browse files
authoredDec 3, 2024
Skip Aqua stale deps check in downstream tests (#205)
1 parent 0b1049b commit 15c4030

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
@@ -62,7 +62,7 @@ jobs:
6262
# force it to use this PR's version of the package
6363
Pkg.develop(PackageSpec(path=".")) # resolver may fail with main deps
6464
Pkg.update()
65-
Pkg.test() # resolver may fail with test time deps
65+
Pkg.test(test_args=["--downstream_integration_test"]) # resolver may fail with test time deps
6666
catch err
6767
err isa Pkg.Resolve.ResolverError || rethrow()
6868
# 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
@@ -6,8 +6,10 @@ import BandedMatrices: _BandedMatrix, BandedColumns
66
import Base.Broadcast: broadcasted, Broadcasted, instantiate
77

88
using Aqua
9+
downstream_test = "--downstream_integration_test" in ARGS
910
@testset "Project quality" begin
10-
Aqua.test_all(InfiniteArrays, ambiguities=false, piracies=false)
11+
Aqua.test_all(InfiniteArrays, ambiguities=false, piracies=false,
12+
stale_deps=!downstream_test)
1113
end
1214

1315
@testset "construction" begin

0 commit comments

Comments
 (0)