Skip to content

Commit 06741d7

Browse files
authored
Skip Aqua stale deps check in downstream tests (#250)
1 parent 6de028c commit 06741d7

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/downstream.yml

+1-1
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

+2
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,12 @@ import Aqua
55
import Random
66
using Test
77

8+
downstream_test = "--downstream_integration_test" in ARGS
89
@testset "Project quality" begin
910
Aqua.test_all(ArrayLayouts,
1011
ambiguities = false,
1112
piracies = (; broken=true),
13+
stale_deps = !downstream_test,
1214
)
1315
end
1416

0 commit comments

Comments
 (0)