Skip to content
Merged
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
27 changes: 11 additions & 16 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,9 @@ jobs:
- uses: julia-actions/cache@v2
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1
- run: |
julia --project=perf -e '
using Pkg
Pkg.instantiate()'
- run: julia --project=perf perf/samplers.jl
- run: 'using Pkg; Pkg.instantiate()'
shell: julia --color=yes --project=perf {0}
- run: julia --color=yes --project=perf perf/samplers.jl
- uses: julia-actions/julia-processcoverage@v1
- uses: codecov/codecov-action@v5
with:
Expand All @@ -59,17 +57,14 @@ jobs:
with:
version: '1'
show-versioninfo: true
- run: |
julia --project=docs -e '
using Pkg
Pkg.develop(PackageSpec(path=pwd()))
Pkg.instantiate()'
- run: |
julia --project=docs -e '
using Documenter: doctest
using Distributions
doctest(Distributions)'
- run: julia --project=docs docs/make.jl
- name: Instantiate the `docs` environment
run: 'using Pkg; Pkg.instantiate()'
shell: julia --color=yes --project=docs {0}
- name: Run doctests
run: 'using Documenter: doctest; using Distributions; doctest(Distributions)'
shell: julia --color=yes --project=docs {0}
- name: Build and deploy docs
run: julia --color=yes --project=docs docs/make.jl
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
Loading