Skip to content

Commit f010ed4

Browse files
added registry via the CI
1 parent 084edd4 commit f010ed4

File tree

3 files changed

+4
-7
lines changed

3 files changed

+4
-7
lines changed

.github/workflows/CI.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ jobs:
3535
version: ${{ matrix.version }}
3636
arch: ${{ matrix.arch }}
3737
- uses: julia-actions/cache@v2
38+
- name: Add CompBayes registry
39+
run: julia -e 'using Pkg; Pkg.Registry.add(Pkg.RegistrySpec(url="https://github.com/compbayes/CompBayesRegistry.git"))'
3840
- uses: julia-actions/julia-buildpkg@v1
3941
- uses: julia-actions/julia-runtest@v1
4042
- uses: julia-actions/julia-processcoverage@v1
@@ -56,6 +58,8 @@ jobs:
5658
with:
5759
version: '1'
5860
- uses: julia-actions/cache@v2
61+
- name: Add CompBayes registry
62+
run: julia -e 'using Pkg; Pkg.Registry.add(Pkg.RegistrySpec(url="https://github.com/compbayes/CompBayesRegistry.git"))'
5963
- name: Configure doc environment
6064
shell: julia --project=docs --color=yes {0}
6165
run: |

docs/make.jl

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
using Pkg
22

3-
# Add local registry
4-
Pkg.Registry.add(url="https://github.com/compbayes/CompBayesRegistry.git")
5-
63
# Activate the docs environment in docs/Project.toml
74
Pkg.activate(@__DIR__)
85
Pkg.develop(PackageSpec(path=pwd()))

test/runtests.jl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
# Add local registry
2-
using Pkg
3-
Pkg.Registry.add(url="https://github.com/compbayes/CompBayesRegistry.git")
4-
51
using SMCsamplers
62
using Test
73

0 commit comments

Comments
 (0)