Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ updates:
- "/"
- "/docs"
- "/test"
- "/test/nopre"
- "/test/qa"
schedule:
interval: "daily"
groups:
Expand Down
19 changes: 1 addition & 18 deletions .github/workflows/Tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,22 +20,5 @@ concurrency:

jobs:
tests:
name: "Tests"
strategy:
fail-fast: false
matrix:
version:
- "1"
- "lts"
- "pre"
group:
- Core
- nopre
exclude:
- version: "pre"
group: nopre
uses: "SciML/.github/.github/workflows/tests.yml@v1"
with:
julia-version: "${{ matrix.version }}"
group: "${{ matrix.group }}"
uses: "SciML/.github/.github/workflows/grouped-tests.yml@v1"
secrets: "inherit"
2 changes: 0 additions & 2 deletions test/Project.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
[deps]
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
Expand All @@ -8,7 +7,6 @@ SparseBandedMatrices = "bd59d7e1-4699-4102-944e-d05209cb92aa"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[compat]
Aqua = "0.8"
LinearAlgebra = "1"
Pkg = "1"
Random = "1"
Expand Down
5 changes: 0 additions & 5 deletions test/nopre/runtests.jl

This file was deleted.

4 changes: 0 additions & 4 deletions test/qa.jl

This file was deleted.

7 changes: 6 additions & 1 deletion test/nopre/Project.toml → test/qa/Project.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
[deps]
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
JET = "c3a54625-cd67-489e-a8e7-0a5a0ff4e31b"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
SparseBandedMatrices = "bd59d7e1-4699-4102-944e-d05209cb92aa"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[sources]
SparseBandedMatrices = {path = "../.."}

[compat]
Aqua = "0.8"
JET = "0.9, 0.10, 0.11"
LinearAlgebra = "1"
SparseBandedMatrices = "1.3.0"
Test = "1"
julia = "1.10"
6 changes: 5 additions & 1 deletion test/nopre/jet.jl → test/qa/qa.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
using SparseBandedMatrices, JET, LinearAlgebra
using SparseBandedMatrices, Aqua, JET, LinearAlgebra, Test

@testset "Aqua" begin
Aqua.test_all(SparseBandedMatrices; ambiguities = (recursive = false,))
end

@testset "JET static analysis" begin
# Test that there are no unresolved dispatch errors in key functions
Expand Down
7 changes: 3 additions & 4 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ const GROUP = get(ENV, "GROUP", "All")

@testset "SparseBandedMatrices" begin
if GROUP == "All" || GROUP == "Core"
@safetestset "Quality Assurance" include("qa.jl")
@safetestset "Interface Compatibility" include("interface.jl")

@safetestset "Constructors" begin
Expand Down Expand Up @@ -86,10 +85,10 @@ const GROUP = get(ENV, "GROUP", "All")
end
end

if GROUP == "All" || GROUP == "nopre"
Pkg.activate(joinpath(@__DIR__, "nopre"))
if GROUP == "All" || GROUP == "QA"
Pkg.activate(joinpath(@__DIR__, "qa"))
Pkg.develop(PackageSpec(path = joinpath(@__DIR__, "..")))
Pkg.instantiate()
@safetestset "JET Static Analysis" include("nopre/jet.jl")
include(joinpath(@__DIR__, "qa", "qa.jl"))
end
end
5 changes: 5 additions & 0 deletions test/test_groups.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[Core]
versions = ["lts", "1", "pre"]

[QA]
versions = ["lts", "1"]
Loading