Skip to content

Commit 295266c

Browse files
authored
Skip Aqua stale deps check in downstream tests (#398)
1 parent 6631f07 commit 295266c

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/downstream.yml

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

test/aqua.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
using Aqua
22
using FillArrays
33
using Test
4+
downstream_test = "--downstream_integration_test" in ARGS
45
@testset "Project quality" begin
56
Aqua.test_all(FillArrays;
67
# https://github.com/JuliaArrays/FillArrays.jl/issues/105#issuecomment-1582516319
78
ambiguities=(; broken=true),
9+
stale_deps = !downstream_test,
810
)
911
end

0 commit comments

Comments
 (0)