Skip to content
Open
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
22 changes: 12 additions & 10 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,13 @@ jobs:
- uses: julia-actions/cache@v3
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1
- name: Run doctests
run: julia --project=docs -e '
using Pkg; Pkg.instantiate()
using Documenter;
using FlyThroughPaths;
Documenter.DocMeta.setdocmeta!(FlyThroughPaths, :DocTestSetup, :(using FlyThroughPaths); recursive=true);
Documenter.doctest(FlyThroughPaths);'
- uses: julia-actions/julia-processcoverage@v1
- uses: codecov/codecov-action@v5
with:
Expand All @@ -61,20 +68,15 @@ jobs:
run: |
xvfb-run -s '-screen 0 1024x768x24' julia --project=docs -e '
using Pkg
Pkg.develop(PackageSpec(path=pwd()))
Pkg.add(name = "DocumenterVitepress", rev = "master")
Pkg.instantiate()'
env:
DISPLAY: ':0'
- name: Build and deploy
- uses: julia-actions/julia-docdeploy@v1
with:
prefix: xvfb-run
install-package: false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # If authenticating with GitHub Actions token
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} # If authenticating with SSH deploy key
DISPLAY: ':0'
run: xvfb-run -s '-screen 0 1024x768x24' julia --project=docs/ docs/make.jl deploy
- name: Run doctests
run: julia --project=docs -e '
using Documenter;
using FlyThroughPaths;
Documenter.DocMeta.setdocmeta!(FlyThroughPaths, :DocTestSetup, :(using FlyThroughPaths); recursive=true);
Documenter.doctest(FlyThroughPaths);'
DATADEPS_ALWAYS_ACCEPT: 'true'
10 changes: 3 additions & 7 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ uuid = "c11bb9a7-2755-425a-88f3-ebe93bbdb91f"
authors = ["Tim Holy <tim.holy@gmail.com> and contributors"]
version = "0.1.3"

[workspace]
projects = ["test", "docs"]

[deps]
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"

Expand All @@ -18,10 +21,3 @@ Makie = "0.21, 0.22, 0.23, 0.24"
StaticArrays = "1"
Test = "1"
julia = "1.10"

[extras]
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[targets]
test = ["LinearAlgebra", "Test"]
9 changes: 9 additions & 0 deletions test/Project.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[deps]
FlyThroughPaths = "c11bb9a7-2755-425a-88f3-ebe93bbdb91f"
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
Makie = "ee78f7c6-11fb-53f2-987a-cfe4a2b5a57a"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[sources]
FlyThroughPaths = {path = ".."}
Loading