Skip to content

Commit 3e2c5b4

Browse files
committed
Building the packageé
1 parent 2c084d1 commit 3e2c5b4

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

Project.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,13 @@ Statistics = "1.9"
3232
TOML = "1"
3333
Test = "1.9"
3434
julia = "1.9"
35+
Pkg = "1.9"
3536

3637
[extras]
3738
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
3839
DelimitedFiles = "8bb1440f-4735-579b-a4ab-409b98df4dab"
3940
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
41+
Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
4042

4143
[targets]
42-
test = ["Test", "DelimitedFiles", "Aqua"]
44+
test = ["Test", "DelimitedFiles", "Aqua", "Pkg"]

test/runtests.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ using StaticArrays
55
using Distributions
66
using ComponentArrays
77
using DelimitedFiles
8+
using Pkg
89

910
@testset "Running from CLI" begin
11+
Pkg.build("ParticlesMC")
1012
path_sep = Sys.iswindows() ? ";" : ":"
1113
julia_bin = expanduser("~/.julia/bin")
12-
julia_local = expanduser("~/.julia/local")
1314
ENV["PATH"] = ENV["PATH"] * path_sep * julia_bin
14-
ENV["PATH"] = ENV["PATH"] * path_sep * julia_local
1515
@test success(`bash -c "command -v particlesmc"`)
1616
@test success(`particlesMC params.toml`)
1717
end

0 commit comments

Comments
 (0)