Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
pull_request:

env:
CMDSTAN: "/home/worker/cmdstan-2.35.0/"
CMDSTAN: "/home/worker/cmdstan-2.37.0/"

jobs:
test:
Expand Down Expand Up @@ -41,17 +41,17 @@ jobs:
OLDWD=`pwd`
cd ~
pwd
wget https://github.com/stan-dev/cmdstan/releases/download/v2.35.0/cmdstan-2.35.0.tar.gz
tar -xzpf cmdstan-2.35.0.tar.gz
wget https://github.com/stan-dev/cmdstan/releases/download/v2.37.0/cmdstan-2.37.0.tar.gz
tar -xzpf cmdstan-2.37.0.tar.gz
ls -lia .
ls -lia ./cmdstan-2.35.0
ls -lia ./cmdstan-2.35.0/make
touch ./cmdstan-2.35.0/make/local
echo "STAN_THREADS=true" > ./cmdstan-2.35.0/make/local
ls -lia ./cmdstan-2.37.0
ls -lia ./cmdstan-2.37.0/make
touch ./cmdstan-2.37.0/make/local
echo "STAN_THREADS=true" > ./cmdstan-2.37.0/make/local
make -C $CMDSTAN build
cd $OLDWD
env:
CMDSTAN: "/home/runner/cmdstan-2.35.0/"
CMDSTAN: "/home/runner/cmdstan-2.37.0/"
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@v1
with:
Expand All @@ -70,7 +70,7 @@ jobs:
- uses: julia-actions/julia-buildpkg@latest
- uses: julia-actions/julia-runtest@latest
env:
CMDSTAN: "/home/runner/cmdstan-2.35.0/"
CMDSTAN: "/home/runner/cmdstan-2.37.0/"
- uses: julia-actions/julia-processcoverage@v1
if: matrix.version == '1' && matrix.os == 'ubuntu-latest' && matrix.num_threads == 1
- uses: codecov/codecov-action@v1
Expand Down
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "StanVariational"
uuid = "6ede68ce-8466-5085-8a79-4c4de3d9cf4a"
authors = ["Rob J Goedman <goedman@mac.com>"]
version = "4.5.1"
version = "4.5.3"

[deps]
CSV = "336ed68f-0bac-5ca0-87d4-7b16caf5d00b"
Expand Down
8 changes: 4 additions & 4 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ if haskey(ENV, "JULIA_CMDSTAN_HOME") || haskey(ENV, "CMDSTAN")
ms = mean(samples; dims=1)
#ms |> display
#ms[1, 2, 1] |> display
@test ms[1, 2, 1] ≈ -8.2 atol=0.3
@test ms[1, 2, 2] ≈ -8.2 atol=0.3
@test ms[1, 2, 3] ≈ -8.2 atol=0.3
@test ms[1, 2, 4] ≈ -8.2 atol=0.3
@test ms[1, 2, 1] ≈ -8.2 atol=0.7
@test ms[1, 2, 2] ≈ -8.2 atol=0.7
@test ms[1, 2, 3] ≈ -8.2 atol=0.7
@test ms[1, 2, 4] ≈ -8.2 atol=0.7
@test ms[1, 3, 1] ≈ -0.5 atol=0.1
@test ms[1, 3, 2] ≈ -0.5 atol=0.1
@test ms[1, 3, 3] ≈ -0.5 atol=0.1
Expand Down
Loading