diff --git a/.github/workflows/UnitTest.yml b/.github/workflows/UnitTest.yml index 436c742..9c37fbe 100644 --- a/.github/workflows/UnitTest.yml +++ b/.github/workflows/UnitTest.yml @@ -14,7 +14,7 @@ jobs: strategy: fail-fast: false matrix: - julia-version: ['1.0', '1', 'nightly'] + julia-version: ['1', 'min'] os: [ubuntu-latest] arch: [x64] include: @@ -23,17 +23,17 @@ jobs: arch: x64 - os: macOS-latest julia-version: '1' - arch: x64 + arch: aarch64 steps: - - uses: actions/checkout@v1.0.0 + - uses: actions/checkout@v4.0.0 - name: "Set up Julia" - uses: julia-actions/setup-julia@v1 + uses: julia-actions/setup-julia@v3 with: version: ${{ matrix.julia-version }} - name: Cache artifacts - uses: actions/cache@v1 + uses: actions/cache@v4 env: cache-name: cache-artifacts with: @@ -45,7 +45,7 @@ jobs: ${{ runner.os }}- - name: "Unit Test" - uses: julia-actions/julia-runtest@master + uses: julia-actions/julia-runtest@v1 # Unless tokenless upload is enabled, we can only submit coverage via # environment variable. But PRs from other fork can't do that. diff --git a/.gitignore b/.gitignore index 6b2ea0a..5df9e7a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ *.jl.cov *.jl.*.cov *.jl.mem +Manifest.toml docs/build/ docs/site/ diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 796eba4..0000000 --- a/.travis.yml +++ /dev/null @@ -1,20 +0,0 @@ -# Until https://github.com/julia-actions/julia-uploadcodecov/issues/1 get fixed -# submit coverage report via travis -language: julia -julia: 1.0 -os: linux -notifications: - email: false -cache: - directories: - - $HOME/.julia/artifacts -jobs: - include: - - stage: Coverage - codecov: true - - - stage: Documentation - script: - - julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); - Pkg.instantiate()' - - julia --project=docs/ docs/make.jl diff --git a/Project.toml b/Project.toml index c71b400..96f9905 100644 --- a/Project.toml +++ b/Project.toml @@ -19,7 +19,7 @@ Documenter = "1" Aqua = "0.8" Test = "1" Unitful = "1" -julia = "1" +julia = "1.10" [extras] Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595" diff --git a/test/runtests.jl b/test/runtests.jl index 56b4bcc..3ba552d 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -7,22 +7,15 @@ using ImageAxes using Test, Aqua, Documenter # for meta quality checks @testset "Project meta quality checks" begin - if VERSION >= v"1.2" - # Not checking compat section for test-only dependencies - ambiguity_exclude_list = [ - # https://github.com/JuliaDiff/ChainRulesCore.jl/pull/367#issuecomment-869071000 - Base.:(==), - ] - Aqua.test_ambiguities([ImageAxes, Base, Core], exclude=ambiguity_exclude_list) - Aqua.test_all(ImageAxes; - ambiguities=false, - project_extras=true, - deps_compat=true, - stale_deps=true, - piracies=false, # this is a glue package for ImageCore with AxisArrays (TODO: make it an ImageCore extension) - ) - DocMeta.setdocmeta!(ImageAxes, :DocTestSetup, :(using ImageAxes); recursive=true) - end + Aqua.test_ambiguities(ImageAxes) + Aqua.test_all(ImageAxes; + ambiguities=false, + project_extras=true, + deps_compat=true, + stale_deps=true, + piracies=false, # this is a glue package for ImageCore with AxisArrays (TODO: make it an ImageCore extension) + ) + DocMeta.setdocmeta!(ImageAxes, :DocTestSetup, :(using ImageAxes); recursive=true) end using SimpleTraits, Unitful