Skip to content

Commit

Permalink
up dep versions; change '\' to '/' in test paths
Browse files Browse the repository at this point in the history
  • Loading branch information
soldasim committed Nov 5, 2024
1 parent 0265eb5 commit 70b4c84
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
20 changes: 10 additions & 10 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
Turing = "fce5fe82-541a-59a6-adf8-730c64b5f9a0"

[compat]
AbstractGPs = "^0.5.21"
Distributed = "^1.10"
Distributions = "^0.25.109"
InteractiveUtils = "^1.10"
LatinHypercubeSampling = "^1.9"
LinearAlgebra = "^1.10"
Optimization = "^3.27"
Random = "^1.10"
Turing = "^0.33.1, ^0.34"
julia = "^1.10"
AbstractGPs = "0.5.21"
Distributed = "1.10"
Distributions = "0.25.109"
InteractiveUtils = "1.10"
LatinHypercubeSampling = "1.9"
LinearAlgebra = "1.10"
Optimization = "3.27, 4"
Random = "1.10"
Turing = "0.33.1, 0.34, 0.35"
julia = "1.10"
8 changes: 4 additions & 4 deletions test/unit/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,19 @@ include("_parametrized_tests.jl") # TODO
function include_unit_tests(dir)
for file in readdir(dir)
if endswith(file, ".jl")
@info " Testing $dir\\$file"
@info " Testing $dir/$file"
@testset "$file" begin
include(dir*'\\'*file)
include(dir*'/'*file)
end
else
@testset "$file" begin
include_unit_tests(dir*'\\'*file)
include_unit_tests(dir*'/'*file)
end
end
end
end

@testset "Unit Tests" begin
@info "Running Unit Tests ..."
include_unit_tests(Base.source_dir() * "\\test")
include_unit_tests(Base.source_dir() * '/' * "test")
end

0 comments on commit 70b4c84

Please sign in to comment.