-
-
Notifications
You must be signed in to change notification settings - Fork 39
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
More CI #250
Open
ArnoStrouwen
wants to merge
1
commit into
SciML:main
Choose a base branch
from
ArnoStrouwen:ci
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
More CI #250
Changes from all commits
Commits
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 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 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 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 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 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 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,70 +1,32 @@ | ||
using SafeTestsets | ||
|
||
@safetestset "Quality Assurance" begin | ||
include("qa.jl") | ||
end | ||
@time @safetestset "Quality Assurance" include("qa.jl") | ||
|
||
# Blocks | ||
@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 @safetestset "Blocks: math" include("Blocks/math.jl") | ||
@time @safetestset "Blocks: nonlinear" include("Blocks/nonlinear.jl") | ||
@time @safetestset "Blocks: continuous" include("Blocks/continuous.jl") | ||
@time @safetestset "Blocks: sources" include("Blocks/sources.jl") | ||
@time @safetestset "Blocks: analysis points" include("Blocks/test_analysis_points.jl") | ||
|
||
# Electrical | ||
@safetestset "Analog Circuits" begin | ||
include("Electrical/analog.jl") | ||
end | ||
|
||
@safetestset "Chua Circuit Demo" begin | ||
include("chua_circuit.jl") | ||
end | ||
|
||
@safetestset "Digital Circuits" begin | ||
include("Electrical/digital.jl") | ||
end | ||
@safetestset "Chua Circuit Demo" begin | ||
include("chua_circuit.jl") | ||
end | ||
@time @safetestset "Analog Circuits" include("Electrical/analog.jl") | ||
@time @safetestset "Chua Circuit Demo" include("chua_circuit.jl") | ||
@time @safetestset "Digital Circuits" include("Electrical/digital.jl") | ||
@time @safetestset "Chua Circuit Demo" include("chua_circuit.jl") | ||
|
||
# Thermal | ||
@safetestset "Thermal Circuits" begin | ||
include("Thermal/thermal.jl") | ||
end | ||
@safetestset "Thermal Demo" begin | ||
include("Thermal/demo.jl") | ||
end | ||
@time @safetestset "Thermal Circuits" include("Thermal/thermal.jl") | ||
@time @safetestset "Thermal Demo" include("Thermal/demo.jl") | ||
|
||
# Magnetic | ||
@safetestset "Magnetic" begin | ||
include("Magnetic/magnetic.jl") | ||
end | ||
@time @safetestset "Magnetic" include("Magnetic/magnetic.jl") | ||
|
||
# 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 | ||
@time @safetestset "Mechanical Rotation" include("Mechanical/rotational.jl") | ||
@time @safetestset "Mechanical Translation" include("Mechanical/translational.jl") | ||
@time @safetestset "Mechanical Translation" include("Mechanical/translational_modelica.jl") | ||
@time @safetestset "Multi-Domain" include("multi_domain.jl") | ||
|
||
# Hydraulic | ||
@safetestset "Hydraulic IsothermalCompressible" begin | ||
include("Hydraulic/isothermal_compressible.jl") | ||
end | ||
@time @safetestset "Hydraulic IsothermalCompressible" include("Hydraulic/isothermal_compressible.jl") |
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.
This works:
Better still - a
using ModelingToolkit: getname
at the top and$(getname(source))
here.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.
This just makes the change in a string naming the test. Not the actual code.