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
10 changes: 2 additions & 8 deletions .github/workflows/Tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,7 @@ concurrency:

jobs:
tests:
name: "Tests"
strategy:
fail-fast: false
matrix:
version:
- "1"
uses: "SciML/.github/.github/workflows/tests.yml@v1"
uses: "SciML/.github/.github/workflows/grouped-tests.yml@v1"
with:
julia-version: "${{ matrix.version }}"
coverage-directories: "src"
secrets: "inherit"
7 changes: 6 additions & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,18 @@ version = "1.0.0"
ModelingToolkit = "961ee093-0014-501f-94e3-6117800e7a78"

[compat]
DifferentialEquations = "7"
ModelingToolkit = "9"
SafeTestsets = "0.1"
SciMLTesting = "1"
Test = "1"
julia = "1.10"

[extras]
SafeTestsets = "1bc83da4-3b8d-516f-aca4-4fe02f6d838f"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
DifferentialEquations = "0c46a032-eb83-5123-abaf-570d42b7fbaa"
SciMLTesting = "09d9d899-5365-40a9-917a-5f67fddea283"

[targets]
test = ["Test", "SafeTestsets", "DifferentialEquations"]
test = ["Test", "SafeTestsets", "DifferentialEquations", "SciMLTesting"]
18 changes: 18 additions & 0 deletions test/qa/Project.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[deps]
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
JET = "c3a54625-cd67-489e-a8e7-0a5a0ff4e31b"
ProcessSimulator = "8886c03b-4dde-4be1-b6ee-87d056f985b8"
SafeTestsets = "1bc83da4-3b8d-516f-aca4-4fe02f6d838f"
SciMLTesting = "09d9d899-5365-40a9-917a-5f67fddea283"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

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

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

run_qa(ProcessSimulator; Aqua = Aqua, JET = JET, jet = true,
jet_kwargs = (; target_defined_modules = true))
13 changes: 2 additions & 11 deletions test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,11 +1,2 @@
using ProcessSimulator
using Test
using SafeTestsets

@safetestset "Base components" begin
include("base/simple_steady_state.jl")
end

@safetestset "Reactors" begin
include("reactors/simple_cstr.jl")
end
using SciMLTesting
run_tests()
File renamed without changes.
File renamed without changes.
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