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
14 changes: 1 addition & 13 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,5 @@ concurrency:
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
jobs:
tests:
name: "Tests"
strategy:
fail-fast: false
matrix:
group:
- Core
- Datafit
version:
- '1'
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"
4 changes: 3 additions & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,16 @@ Reexport = "1"
SafeTestsets = "0.1"
SciMLBase = "2.54, 3.1"
SciMLExpectations = "2"
SciMLTesting = "1"
Test = "1"
Turing = "0.33, 0.34, 0.35, 0.36, 0.45"
julia = "1.10"

[extras]
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
SafeTestsets = "1bc83da4-3b8d-516f-aca4-4fe02f6d838f"
SciMLTesting = "09d9d899-5365-40a9-917a-5f67fddea283"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[targets]
test = ["Aqua", "SafeTestsets", "Test"]
test = ["Aqua", "SafeTestsets", "SciMLTesting", "Test"]
File renamed without changes.
15 changes: 15 additions & 0 deletions test/qa/Project.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
[deps]
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
EasyModelAnalysis = "ef4b24a4-a090-4686-a932-e7e56a5a83bd"
SafeTestsets = "1bc83da4-3b8d-516f-aca4-4fe02f6d838f"
SciMLTesting = "09d9d899-5365-40a9-917a-5f67fddea283"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

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

[compat]
Aqua = "0.8"
SafeTestsets = "1, 0.1"
SciMLTesting = "1"
julia = "1.10"
File renamed without changes.
21 changes: 2 additions & 19 deletions test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,20 +1,3 @@
using SafeTestsets, Test
using SciMLTesting

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

@time begin
if GROUP == "All" || GROUP == "Core"
@testset "Core" begin
@time @safetestset "Quality Assurance" include("qa.jl")
@time @safetestset "Basic Tests" include("basics.jl")
@time @safetestset "Sensitivity Tests" include("sensitivity.jl")
@time @safetestset "Ensemble Tests" include("ensemble.jl")
@time @safetestset "Threshold Tests" include("threshold.jl")
@time @safetestset "Example Tests" include("examples.jl")
end
end

if GROUP == "All" || GROUP == "Datafit"
@time @safetestset "Datafit Tests" include("datafit.jl")
end
end
run_tests()
8 changes: 8 additions & 0 deletions test/test_groups.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[Core]
versions = ["1"]

[Datafit]
versions = ["1"]

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