Skip to content

Commit b2fed21

Browse files
KristofferCclaude
andcommitted
Run only the Aqua tests in the aqua CI job (#737)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
1 parent 5a503e4 commit b2fed21

2 files changed

Lines changed: 3 additions & 8 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,9 @@ jobs:
6868
version: ${{ matrix.julia-version }}
6969
arch: ${{ matrix.julia-arch }}
7070
- uses: julia-actions/cache@v2
71-
- uses: julia-actions/julia-buildpkg@v1
72-
- uses: julia-actions/julia-runtest@v1
73-
env:
74-
SPARSEARRAYS_AQUA_TEST: true
71+
- name: Run Aqua and ambiguity tests
72+
run: |
73+
julia --color=yes -e 'using Pkg; Pkg.activate(temp=true); Pkg.develop(path=pwd()); Pkg.add(name="Aqua", version="0.8"); include(joinpath(pwd(), "test", "ambiguous.jl"))'
7574
docs:
7675
runs-on: ubuntu-latest
7776
steps:

test/runtests.jl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,6 @@ using Test, LinearAlgebra, SparseArrays
33

44
include("util/gha.jl")
55

6-
if Base.get_bool_env("SPARSEARRAYS_AQUA_TEST", false)
7-
include("ambiguous.jl")
8-
end
9-
106
include("allowscalar.jl")
117
include("fixed.jl")
128
include("higherorderfns.jl")

0 commit comments

Comments
 (0)