From 0b586c40f978e534acf0f012f383a95cc1df2436 Mon Sep 17 00:00:00 2001 From: Jishnu Bhattacharya Date: Tue, 3 Dec 2024 13:20:05 +0530 Subject: [PATCH] Skip Aqua stale deps check in downstream tests (#463) --- .github/workflows/downstream.yml | 2 +- test/runtests.jl | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/downstream.yml b/.github/workflows/downstream.yml index f2147096..8a2da7a2 100644 --- a/.github/workflows/downstream.yml +++ b/.github/workflows/downstream.yml @@ -65,7 +65,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(; coverage = true) # resolver may fail with test time deps + Pkg.test(; coverage = true, 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 diff --git a/test/runtests.jl b/test/runtests.jl index 230c4835..0e265836 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -2,8 +2,10 @@ using BandedMatrices using Test import Aqua +downstream_test = "--downstream_integration_test" in ARGS @testset "Project quality" begin - Aqua.test_all(BandedMatrices, ambiguities=false, piracies=false) + Aqua.test_all(BandedMatrices, ambiguities=false, piracies=false, + stale_deps=!downstream_test) end using Documenter