From dafec45083f6f5473ae250c3123ad50c7bf2c21b Mon Sep 17 00:00:00 2001 From: Nathanael Bosch Date: Mon, 8 Apr 2024 16:01:21 +0200 Subject: [PATCH] Change the tested julia versions (#10) * Change the tested julia versions * Add a justfile for convenience * JuliaFormatter.jl --- .github/workflows/CI.yml | 4 +--- docs/make.jl | 8 ++++---- justfile | 14 ++++++++++++++ test/runtests.jl | 2 +- 4 files changed, 20 insertions(+), 8 deletions(-) create mode 100644 justfile diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index e890324..a4a4fde 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -19,9 +19,7 @@ jobs: fail-fast: false matrix: version: - - '1.6' - - '1.9' - - 'nightly' + - '1' os: - ubuntu-latest arch: diff --git a/docs/make.jl b/docs/make.jl index 46f56fb..89867ef 100644 --- a/docs/make.jl +++ b/docs/make.jl @@ -16,11 +16,11 @@ makedocs(; canonical = "https://nathanaelbosch.github.io/ChaoticDynamicalSystemLibrary.jl", edit_link = "main", assets = String[], - size_threshold_ignore = ["index.md"],), + size_threshold_ignore = ["index.md"]), pages = [ - "Home" => "index.md", - ],) + "Home" => "index.md" + ]) deploydocs(; repo = "github.com/nathanaelbosch/ChaoticDynamicalSystemLibrary.jl", - devbranch = "main",) + devbranch = "main") diff --git a/justfile b/justfile new file mode 100644 index 0000000..76071f4 --- /dev/null +++ b/justfile @@ -0,0 +1,14 @@ +default: + just --list + +format: + julia --project=@JuliaFormatter -e 'using JuliaFormatter; format(".")' + +docs: + julia --project=docs docs/make.jl + +servedocs: + julia --project=docs -e 'using LiveServer; serve(dir="docs/build")' + +servedocs-continuously: + julia --project=docs -e 'using ProbNumDiffEq, LiveServer; servedocs()' diff --git a/test/runtests.jl b/test/runtests.jl index 561a8cc..35c5677 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -10,7 +10,7 @@ using Aqua, JET @testset "Code quality (Aqua.jl)" begin Aqua.test_all(ChaoticDynamicalSystemLibrary; - ambiguities = (imported = false),) + ambiguities = (imported = false)) end if VERSION >= v"1.7"