-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #35 from SciML/buildkite
Add BuildKite testing
- Loading branch information
Showing
3 changed files
with
55 additions
and
19 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
steps: | ||
- label: "GPU" | ||
plugins: | ||
- JuliaCI/julia#v1: | ||
version: "1" | ||
- JuliaCI/julia-test#v1: | ||
coverage: false # 1000x slowdown | ||
agents: | ||
queue: "juliagpu" | ||
cuda: "*" | ||
env: | ||
GROUP: 'GPU' | ||
JULIA_PKG_SERVER: "" # it often struggles with our large artifacts | ||
# SECRET_CODECOV_TOKEN: "..." | ||
timeout_in_minutes: 30 | ||
# Don't run Buildkite if the commit message includes the text [skip tests] | ||
if: build.message !~ /\[skip tests\]/ |
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,28 +1,47 @@ | ||
using SafeTestsets | ||
|
||
const GROUP = lowercase(get(ENV, "GROUP", "all")) | ||
|
||
@time begin | ||
@time @safetestset "Damped simple harmonic oscillator" begin | ||
include("damped_sho.jl") | ||
end | ||
@time @safetestset "Damped pendulum" begin | ||
include("damped_pendulum.jl") | ||
if GROUP == "all" || GROUP == "core" | ||
@time @safetestset "Damped simple harmonic oscillator" begin | ||
include("damped_sho.jl") | ||
end | ||
@time @safetestset "Damped pendulum" begin | ||
include("damped_pendulum.jl") | ||
end | ||
end | ||
@time @safetestset "Region of attraction estimation" begin | ||
include("roa_estimation.jl") | ||
end | ||
@time @safetestset "Policy search - inverted pendulum" begin | ||
include("inverted_pendulum.jl") | ||
|
||
if GROUP == "all" || GROUP == "policy_search" | ||
@time @safetestset "Policy search - inverted pendulum" begin | ||
include("inverted_pendulum.jl") | ||
end | ||
@time @safetestset "Policy search - inverted pendulum (ODESystem)" begin | ||
include("inverted_pendulum_ODESystem.jl") | ||
end | ||
end | ||
@time @safetestset "Policy search - inverted pendulum 2" begin | ||
include("inverted_pendulum_ODESystem.jl") | ||
|
||
if GROUP == "all" || GROUP == "roa" | ||
@time @safetestset "Region of attraction estimation" begin | ||
include("roa_estimation.jl") | ||
end | ||
end | ||
@time @safetestset "Local Lyapunov function search" begin | ||
include("local_lyapunov.jl") | ||
|
||
if GROUP == "all" || GROUP == "local_lyapunov" | ||
@time @safetestset "Local Lyapunov function search" begin | ||
include("local_lyapunov.jl") | ||
end | ||
end | ||
@time @safetestset "Errors for partially-implemented extensions" begin | ||
include("unimplemented.jl") | ||
|
||
if GROUP == "all" || GROUP == "unimplemented" | ||
@time @safetestset "Errors for partially-implemented extensions" begin | ||
include("unimplemented.jl") | ||
end | ||
end | ||
@time @safetestset "Benchmarking tool" begin | ||
include("benchmark.jl") | ||
|
||
if GROUP == "all" || GROUP == "benchmarking" | ||
@time @safetestset "Benchmarking tool" begin | ||
include("benchmark.jl") | ||
end | ||
end | ||
end |