Skip to content

Commit

Permalink
Skip Aqua stale deps check in downstream tests (#205)
Browse files Browse the repository at this point in the history
  • Loading branch information
jishnub authored Dec 3, 2024
1 parent 0b1049b commit 15c4030
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/downstream.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
# force it to use this PR's version of the package
Pkg.develop(PackageSpec(path=".")) # resolver may fail with main deps
Pkg.update()
Pkg.test() # resolver may fail with test time deps
Pkg.test(test_args=["--downstream_integration_test"]) # resolver may fail with test time deps
catch err
err isa Pkg.Resolve.ResolverError || rethrow()
# If we can't resolve that means this is incompatible by SemVer and this is fine
Expand Down
4 changes: 3 additions & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,10 @@ import BandedMatrices: _BandedMatrix, BandedColumns
import Base.Broadcast: broadcasted, Broadcasted, instantiate

using Aqua
downstream_test = "--downstream_integration_test" in ARGS
@testset "Project quality" begin
Aqua.test_all(InfiniteArrays, ambiguities=false, piracies=false)
Aqua.test_all(InfiniteArrays, ambiguities=false, piracies=false,
stale_deps=!downstream_test)
end

@testset "construction" begin
Expand Down

0 comments on commit 15c4030

Please sign in to comment.