Skip to content

Commit

Permalink
Debug CI
Browse files Browse the repository at this point in the history
  • Loading branch information
peremato committed Nov 29, 2024
1 parent b5e8a51 commit a3e0275
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 11 deletions.
2 changes: 1 addition & 1 deletion basic/B1/B1vis.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Geant4
using Geant4.SystemOfUnits
using GLMakie, Rotations, LinearAlgebra, IGLWrap_jll # to force loa ding G4Vis extension
using CairoMakie, Rotations, LinearAlgebra, IGLWrap_jll # to force loa ding G4Vis extension

include("B1Detector.jl")

Expand Down
19 changes: 9 additions & 10 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,19 @@ using G4Examples
@testset "G4Examples" begin
#---change the working directory
cd(dirname(dirname(pathof(G4Examples))))

@test run(`julia basic/B1/B1.jl`, devnull, devnull).exitcode == 0
@test run(`julia basic/B1/B1vis.jl`, devnull, devnull).exitcode == 0
@test run(`julia basic/B2/B2a.jl`, devnull, devnull).exitcode == 0
@test run(`julia basic/B2/B2aVis.jl`, devnull, devnull).exitcode == 0
@test run(`julia basic/B3/B3a.jl`, devnull, devnull).exitcode == 0

@test run(`julia extended/RE03/RE03.jl`, devnull, devnull).exitcode == 0
@test run(`julia extended/GPS/GPS.jl`, devnull, devnull).exitcode == 0
@test run(`julia extended/TestEm3/TestEm3.jl`, devnull, devnull).exitcode == 0
@test run(`julia extended/TestEm3/TestEm3Vis.jl`, devnull, devnull).exitcode == 0

@test run(`julia advanced/Scintillation/Scintillation.jl`, devnull, devnull).exitcode == 0
@test run(`julia advanced/HBC30/HBC30.jl`, devnull, devnull).exitcode == 0
@test run(`julia advanced/AlephTPC/TPCSim.jl`, devnull, devnull).exitcode == 0
@test run(`julia advanced/WaterPhantom/WaterPhantom.jl`, devnull, devnull).exitcode == 0
# @test run(`julia extended/RE03/RE03.jl`, devnull, devnull).exitcode == 0
# @test run(`julia extended/GPS/GPS.jl`, devnull, devnull).exitcode == 0
# @test run(`julia extended/TestEm3/TestEm3.jl`, devnull, devnull).exitcode == 0
# @test run(`julia extended/TestEm3/TestEm3Vis.jl`, devnull, devnull).exitcode == 0
#
# @test run(`julia advanced/Scintillation/Scintillation.jl`, devnull, devnull).exitcode == 0
# @test run(`julia advanced/HBC30/HBC30.jl`, devnull, devnull).exitcode == 0
# @test run(`julia advanced/AlephTPC/TPCSim.jl`, devnull, devnull).exitcode == 0
# @test run(`julia advanced/WaterPhantom/WaterPhantom.jl`, devnull, devnull).exitcode == 0
end

0 comments on commit a3e0275

Please sign in to comment.