-
-
Notifications
You must be signed in to change notification settings - Fork 45
Fix testing setup #299
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Fix testing setup #299
Changes from 4 commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
12ea8f8
Fix testing setup
ChrisRackauckas e0b1b6d
grab the group
ChrisRackauckas e987a99
format
ChrisRackauckas b1908b6
Update CI.yml
ChrisRackauckas 8605f73
Update CI.yml
ChrisRackauckas 6a837a8
fix spelling error
ChrisRackauckas 02261fa
Merge branch 'tests' of https://github.com/SciML/ModelingToolkitStand…
ChrisRackauckas 11cb8ab
run all core tests
ChrisRackauckas f20dc42
missing one
ChrisRackauckas 5855eac
docs: use `t_nounits` as `t`
ven-k 5e84e9b
Merge pull request #300 from ven-k/patch-1
ChrisRackauckas File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,69 +1,77 @@ | ||
using SafeTestsets | ||
|
||
@safetestset "Quality Assurance" begin | ||
include("qa.jl") | ||
end | ||
const GROUP = get(ENV, "GROUP", "All") | ||
|
||
# Blocks | ||
@safetestset "Blocks: utils" begin | ||
include("Blocks/utils.jl") | ||
end | ||
@safetestset "Blocks: math" begin | ||
include("Blocks/math.jl") | ||
end | ||
@safetestset "Blocks: nonlinear" begin | ||
include("Blocks/nonlinear.jl") | ||
end | ||
@safetestset "Blocks: continuous" begin | ||
include("Blocks/continuous.jl") | ||
end | ||
@safetestset "Blocks: sources" begin | ||
include("Blocks/sources.jl") | ||
end | ||
@safetestset "Blocks: analysis points" begin | ||
include("Blocks/test_analysis_points.jl") | ||
end | ||
@time begin | ||
if GROUP == "QA" || GROUP == "All" | ||
@time @safetestset "Aqua" begin | ||
include("aqua.jl") | ||
end | ||
end | ||
|
||
# Electrical | ||
@safetestset "Analog Circuits" begin | ||
include("Electrical/analog.jl") | ||
end | ||
if GROUP == "Core" || GROUP == "All" | ||
# Blocks | ||
@safetestset "Blocks: utils" begin | ||
include("Blocks/utils.jl") | ||
end | ||
@safetestset "Blocks: math" begin | ||
include("Blocks/math.jl") | ||
end | ||
@safetestset "Blocks: nonlinear" begin | ||
include("Blocks/nonlinear.jl") | ||
end | ||
@safetestset "Blocks: continuous" begin | ||
include("Blocks/continuous.jl") | ||
end | ||
@safetestset "Blocks: sources" begin | ||
include("Blocks/sources.jl") | ||
end | ||
@safetestset "Blocks: analysis points" begin | ||
include("Blocks/test_analysis_points.jl") | ||
end | ||
|
||
@safetestset "Digital Circuits" begin | ||
include("Electrical/digital.jl") | ||
end | ||
@safetestset "Chua Circuit Demo" begin | ||
include("chua_circuit.jl") | ||
end | ||
# Electrical | ||
@safetestset "Analog Circuits" begin | ||
include("Electrical/analog.jl") | ||
end | ||
|
||
# Thermal | ||
@safetestset "Thermal Circuits" begin | ||
include("Thermal/thermal.jl") | ||
end | ||
@safetestset "Thermal Demo" begin | ||
include("Thermal/demo.jl") | ||
end | ||
@safetestset "Digital Circuits" begin | ||
include("Electrical/digital.jl") | ||
end | ||
@safetestset "Chua Circuit Demo" begin | ||
include("chua_circuit.jl") | ||
end | ||
|
||
# Magnetic | ||
@safetestset "Magnetic" begin | ||
include("Magnetic/magnetic.jl") | ||
end | ||
# Thermal | ||
@safetestset "Thermal Circuits" begin | ||
include("Thermal/thermal.jl") | ||
end | ||
@safetestset "Thermal Demo" begin | ||
include("Thermal/demo.jl") | ||
end | ||
|
||
# Mechanical | ||
@safetestset "Mechanical Rotation" begin | ||
include("Mechanical/rotational.jl") | ||
end | ||
@safetestset "Mechanical Translation" begin | ||
include("Mechanical/translational.jl") | ||
end | ||
@safetestset "Mechanical Translation" begin | ||
include("Mechanical/translational_modelica.jl") | ||
end | ||
@safetestset "Multi-Domain" begin | ||
include("multi_domain.jl") | ||
end | ||
# Magnetic | ||
@safetestset "Magnetic" begin | ||
include("Magnetic/magnetic.jl") | ||
end | ||
|
||
# Mechanical | ||
@safetestset "Mechanical Rotation" begin | ||
include("Mechanical/rotational.jl") | ||
end | ||
@safetestset "Mechanical Translation" begin | ||
include("Mechanical/translational.jl") | ||
end | ||
@safetestset "Mechanical Translation" begin | ||
include("Mechanical/translational_modelica.jl") | ||
end | ||
@safetestset "Multi-Domain" begin | ||
include("multi_domain.jl") | ||
end | ||
|
||
# Hydraulic | ||
@safetestset "Hydraulic IsothermalCompressible" begin | ||
include("Hydraulic/isothermal_compressible.jl") | ||
# Hydraulic | ||
@safetestset "Hydraulic IsothermalCompressible" begin | ||
include("Hydraulic/isothermal_compressible.jl") | ||
end | ||
end | ||
end |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.