Skip to content
Merged
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
12 changes: 1 addition & 11 deletions .github/workflows/Tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,5 @@ concurrency:

jobs:
tests:
name: "Tests"
strategy:
fail-fast: false
matrix:
version:
- "1"
- "lts"
- "pre"
uses: "SciML/.github/.github/workflows/tests.yml@v1"
with:
julia-version: "${{ matrix.version }}"
uses: "SciML/.github/.github/workflows/grouped-tests.yml@v1"
secrets: "inherit"
7 changes: 5 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,13 @@ SymbolicLimits = "0.2.4, 1.1"
SymbolicUtils = "4.20.1"
Symbolics = "7.12.0"
TermInterface = "2"
julia = "1.9"
Pkg = "1"
Test = "1"
julia = "1.10"

[extras]
Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[targets]
test = ["Test"]
test = ["Pkg", "Test"]
14 changes: 14 additions & 0 deletions test/qa/Project.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[deps]
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
JET = "c3a54625-cd67-489e-a8e7-0a5a0ff4e31b"
SymbolicNumericIntegration = "78aadeae-fbc0-11eb-17b6-c7ec0477ba9e"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

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

[compat]
Aqua = "0.8"
JET = "0.9,0.10,0.11"
Test = "1"
julia = "1.10"
13 changes: 13 additions & 0 deletions test/qa/qa.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
using SymbolicNumericIntegration
using Aqua
using JET
using Test

@testset "Aqua" begin
Aqua.test_all(SymbolicNumericIntegration; piracies = false)
@test_broken false # Aqua piracy: Base.signbit(::Complex)/signbit(::SymbolicUtils.Sym) in src/integral.jl + DataDrivenSparse.active_set! in src/sparse.jl — see https://github.com/SciML/SymbolicNumericIntegration.jl/issues/156
end

@testset "JET" begin
JET.test_package(SymbolicNumericIntegration; target_defined_modules = true)
end
15 changes: 14 additions & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,11 +1,22 @@
using Test

using SymbolicNumericIntegration
using SymbolicNumericIntegration: value
using Symbolics

using SymbolicUtils
using SymbolicUtils.Rewriters

using Test
const GROUP = get(ENV, "GROUP", "All")

if GROUP == "QA"
using Pkg
Pkg.activate(joinpath(@__DIR__, "qa"))
Pkg.instantiate()
include("qa/qa.jl")
end

if GROUP == "All" || GROUP == "Core"

include("axiom.jl")

Expand Down Expand Up @@ -369,3 +380,5 @@ end
result6 = integrate(x, (x, 0, 1); symbolic = false, detailed = false)
@test result6 == 1 // 2
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