Skip to content

Commit 8055e81

Browse files
committed
update docs in CI.yml
1 parent d850092 commit 8055e81

File tree

3 files changed

+36
-21
lines changed

3 files changed

+36
-21
lines changed

.github/workflows/CI.yml

Lines changed: 36 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -47,18 +47,39 @@ jobs:
4747
files: lcov.info
4848
docs:
4949
name: Documentation
50-
runs-on: ubuntu-latest
51-
steps:
52-
- uses: actions/checkout@v3
53-
- uses: julia-actions/setup-julia@v1
54-
with:
55-
version: '1.11'
56-
- run: |
57-
julia --project=docs -e '
58-
using Pkg
59-
Pkg.develop(PackageSpec(path=pwd()))
60-
Pkg.instantiate()'
61-
- run: julia --project=docs docs/make.jl
62-
env:
63-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
64-
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
50+
51+
on:
52+
push:
53+
branches:
54+
- master # update to match your development branch (master, main, dev, trunk, ...)
55+
tags: '*'
56+
pull_request:
57+
58+
jobs:
59+
build:
60+
# These permissions are needed to:
61+
# - Deploy the documentation: https://documenter.juliadocs.org/stable/man/hosting/#Permissions
62+
# - Delete old caches: https://github.com/julia-actions/cache#usage
63+
permissions:
64+
actions: write
65+
contents: write
66+
pull-requests: read
67+
statuses: write
68+
runs-on: ubuntu-latest
69+
steps:
70+
- uses: actions/checkout@v4
71+
- uses: julia-actions/setup-julia@v2
72+
with:
73+
version: '1'
74+
- uses: julia-actions/cache@v2
75+
- name: Install dependencies
76+
shell: julia --color=yes --project=docs {0}
77+
run: |
78+
using Pkg
79+
Pkg.develop(PackageSpec(path=pwd()))
80+
Pkg.instantiate()
81+
- name: Build and deploy
82+
run: julia --color=yes --project=docs docs/make.jl
83+
env:
84+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # If authenticating with GitHub Actions token
85+
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} # If authenticating with SSH deploy key

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ The following SSMs are supported:
2222
- [Ex-Gaussian](https://itsdfish.github.io/SequentialSamplingModels.jl/dev/ex_gaussian/)
2323
- [Shifted Log Normal](https://itsdfish.github.io/SequentialSamplingModels.jl/dev/shifted_lognormal/)
2424
- [Wald](https://itsdfish.github.io/SequentialSamplingModels.jl/dev/wald/)
25-
- [Wald Mixture](https://itsdfish.github.io/SequentialSamplingModels.jl/dev/wald_mixture/)
2625

2726
### Multi-Choice Models
2827
#### Single Attribute

src/single_choice_models/wald.jl

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,6 @@ end
6666

6767
function pdf(d::Wald, rt::AbstractFloat)
6868
return d.η > 0 ? _pdf_full(d, rt) : _pdf_partial(d, rt)
69-
c1 = α / ((2 * π * (rt - τ)^3) * ((rt - τ) * η^2 + 1))
70-
c2 = 1 / Φ(ν / η)
71-
c3 = exp(-* (rt - τ) - α)^2 / (2 * (rt - τ) * ((rt - τ) * η^2 + 1)))
72-
c4 =* η^2 + ν) / ^2 * ((rt - τ) * η^2 + 1))
73-
return c1 * c2 * c3 * Φ(c4)
7469
end
7570

7671
function _pdf_full(d::Wald, rt::AbstractFloat)

0 commit comments

Comments
 (0)