From 2eac6b1886b7c32a2da63c0cb80ea5d9f4b4ebbf Mon Sep 17 00:00:00 2001 From: Anshul Singhvi Date: Tue, 24 Mar 2026 22:15:29 +0100 Subject: [PATCH 1/3] Add test project --- test/Project.toml | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 test/Project.toml diff --git a/test/Project.toml b/test/Project.toml new file mode 100644 index 0000000..8c94060 --- /dev/null +++ b/test/Project.toml @@ -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 = ".."} \ No newline at end of file From 5d16aceb721dd128f2b842a50cd1d1e57bfd61be Mon Sep 17 00:00:00 2001 From: Anshul Singhvi Date: Tue, 24 Mar 2026 22:15:42 +0100 Subject: [PATCH 2/3] Add main project workspaces for julia 1.12 --- Project.toml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/Project.toml b/Project.toml index d14b109..f01e22c 100644 --- a/Project.toml +++ b/Project.toml @@ -3,6 +3,9 @@ uuid = "c11bb9a7-2755-425a-88f3-ebe93bbdb91f" authors = ["Tim Holy and contributors"] version = "0.1.3" +[workspace] +projects = ["test", "docs"] + [deps] StaticArrays = "90137ffa-7385-5640-81b9-e52037218182" @@ -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"] From 0be337e1b788b1b72c58827affb1018153aa571e Mon Sep 17 00:00:00 2001 From: Anshul Singhvi Date: Tue, 24 Mar 2026 22:15:53 +0100 Subject: [PATCH 3/3] Update CI for julia 1.12 and move doctests to test CI --- .github/workflows/CI.yml | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index fff6f88..60745f9 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -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: @@ -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'