Skip to content

Commit 0b586c4

Browse files
authored
Skip Aqua stale deps check in downstream tests (#463)
1 parent dc97b29 commit 0b586c4

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/downstream.yml

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

test/runtests.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@ using BandedMatrices
22
using Test
33

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

911
using Documenter

0 commit comments

Comments
 (0)