From 7e47e21b30855171cca02be710145de033b401a8 Mon Sep 17 00:00:00 2001 From: Jeff Fessler Date: Sun, 14 Jun 2026 14:11:46 -0400 Subject: [PATCH 1/2] dependabot supersedes CompatHelper --- .github/dependabot.yml | 11 ++++++- .github/workflows/CompatHelper.yml | 48 ------------------------------ 2 files changed, 10 insertions(+), 49 deletions(-) delete mode 100644 .github/workflows/CompatHelper.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml index d486ff7..05307d2 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,8 +1,17 @@ # https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates +# https://discourse.julialang.org/t/psa-github-dependabot-now-supports-julia/134997 version: 2 updates: - - package-ecosystem: github-actions + - package-ecosystem: "github-actions" directory: "/" schedule: interval: "weekly" + + - package-ecosystem: "julia" + directories: # Location of Julia projects + - "/" + - "/docs" + - "/test" + schedule: + interval: "weekly" diff --git a/.github/workflows/CompatHelper.yml b/.github/workflows/CompatHelper.yml deleted file mode 100644 index 0993f36..0000000 --- a/.github/workflows/CompatHelper.yml +++ /dev/null @@ -1,48 +0,0 @@ -name: CompatHelper - -on: - schedule: - - cron: 0 0 * * 0 # weekly - workflow_dispatch: -permissions: - contents: write - pull-requests: write -jobs: - CompatHelper: - runs-on: ubuntu-latest - steps: - - name: Check if Julia is already available in the PATH - id: julia_in_path - run: which julia - continue-on-error: true - - name: Install Julia, but only if it is not already available in the PATH - uses: julia-actions/setup-julia@v3 - with: - version: '1' - # arch: ${{ runner.arch }} - if: steps.julia_in_path.outcome != 'success' - - name: "Add the General registry via Git" - run: | - import Pkg - ENV["JULIA_PKG_SERVER"] = "" - Pkg.Registry.add("General") - shell: julia --color=yes {0} - - name: "Install CompatHelper" - run: | - import Pkg - name = "CompatHelper" - uuid = "aa819f21-2bde-4658-8897-bab36330d9b7" - version = "3" - Pkg.add(; name, uuid, version) - shell: julia --color=yes {0} - - name: "Run CompatHelper" - run: | - import CompatHelper - CompatHelper.main() - shell: julia --color=yes {0} - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - COMPATHELPER_PRIV: ${{ secrets.DOCUMENTER_KEY }} - -# based on: -# https://github.com/JuliaRegistries/CompatHelper.jl From c70c81be5be76c7a8951ac2f4546fb71b38137f3 Mon Sep 17 00:00:00 2001 From: Jeff Fessler Date: Mon, 15 Jun 2026 22:53:08 -0400 Subject: [PATCH 2/2] workflow update --- .github/dependabot.yml | 5 +--- .github/workflows/Documentation.yml | 4 +-- .github/workflows/ci.yml | 26 +++++++++++++++--- Project.toml | 6 +++-- README.md => readme.md | 41 ++++++++++++++++++----------- test/Project.toml | 1 + test/aqua.jl | 7 +++++ test/runtests.jl | 1 + 8 files changed, 64 insertions(+), 27 deletions(-) rename README.md => readme.md (95%) create mode 100644 test/aqua.jl diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 05307d2..2716121 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -9,9 +9,6 @@ updates: interval: "weekly" - package-ecosystem: "julia" - directories: # Location of Julia projects - - "/" - - "/docs" - - "/test" + directory: "/" schedule: interval: "weekly" diff --git a/.github/workflows/Documentation.yml b/.github/workflows/Documentation.yml index d28d42d..3b9f527 100644 --- a/.github/workflows/Documentation.yml +++ b/.github/workflows/Documentation.yml @@ -3,13 +3,13 @@ name: Documentation on: pull_request: paths-ignore: - - 'README.md' + - 'readme.md' push: branches: - 'main' - 'release-' paths-ignore: - - 'README.md' + - 'readme.md' tags: '*' jobs: diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5a75ed9..6c23f20 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,19 +16,37 @@ on: workflow_dispatch: jobs: + version: + # see https://github.com/julia-actions/julia-version + name: Resolve Julia Versions + # These permissions are needed to: + # - Checkout the Git repository (`contents: read`) + permissions: + contents: read + runs-on: ubuntu-latest + outputs: + json: ${{ steps.julia-version.outputs.resolved-json }} + steps: + - uses: actions/checkout@v6 # Needed for "min" to access the Project.toml + - uses: julia-actions/julia-version@v0.1.0 + id: julia-version + with: + versions: | + - min # Oldest supported version in Project.toml + - 1 # Latest release + test: name: Julia ${{ matrix.version }} - ${{ matrix.os }} + needs: version runs-on: ${{ matrix.os }} continue-on-error: ${{ matrix.version == 'nightly' }} strategy: fail-fast: false matrix: - version: ['1', 'nightly'] - os: [ubuntu-latest, windows-latest, macOS-latest] + version: ${{ fromJSON(needs.version.outputs.json) }} + os: [ubuntu-latest, windows-latest, macos-latest] steps: - uses: actions/checkout@v6 - -# - name: "Set up Julia" - uses: julia-actions/setup-julia@v3 with: version: ${{ matrix.version }} diff --git a/Project.toml b/Project.toml index 42c7898..7c8a4de 100644 --- a/Project.toml +++ b/Project.toml @@ -3,16 +3,18 @@ uuid = "599c1a8e-b958-11e9-0d14-b1e6b2ecea07" authors = ["fessler "] version = "0.12" +[workspace] +projects = ["docs", "test"] + [deps] LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e" LinearMaps = "7a12625a-238d-50fd-b39a-03d52299707e" SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf" -Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" [compat] LinearMaps = "3.7" LinearOperators = "2.8" -julia = "1.10" +julia = "1.12.6" [weakdeps] LinearOperators = "5c8ed15e-5a4c-59e4-a42b-c7e8811fb125" diff --git a/README.md b/readme.md similarity index 95% rename from README.md rename to readme.md index 763eeb6..1243bef 100644 --- a/README.md +++ b/readme.md @@ -2,13 +2,15 @@ https://github.com/JeffFessler/LinearMapsAA.jl -[![action status][action-img]][action-url] -[![build status][build-img]][build-url] -[![pkgeval status][pkgeval-img]][pkgeval-url] -[![codecov.io][codecov-img]][codecov-url] +[![docs-stable][docs-stable-img]][docs-stable-url] +[![docs-dev][docs-dev-img]][docs-dev-url] +[![action][action-img]][action-url] +[![Aqua QA][aqua-img]][aqua-url] +[![codecov][codecov-img]][codecov-url] +[![deps][deps-img]][deps-url] [![license][license-img]][license-url] -[![docs stable][docs-stable-img]][docs-stable-url] -[![docs dev][docs-dev-img]][docs-dev-url] +[![pkgeval][pkgeval-img]][pkgeval-url] +[![version][ver-img]][ver-url] This package is an overlay for the package [`LinearMaps.jl`](https://github.com/Jutho/LinearMaps.jl) @@ -421,6 +423,7 @@ from the `LinearMaps` package. * Version 0.6.0 assumes Julia 1.4 * Version 0.7.0 assumes Julia 1.6 * Version 0.11.0 assumes Julia 1.9 +* Tested with Julia 1.12 ## Getting started @@ -441,17 +444,25 @@ without "separate" installation. -[action-img]: https://github.com/JeffFessler/LinearMapsAA.jl/workflows/Unit%20test/badge.svg +[action-img]: https://github.com/JeffFessler/LinearMapsAA.jl/workflows/CI/badge.svg [action-url]: https://github.com/JeffFessler/LinearMapsAA.jl/actions -[build-img]: https://github.com/JeffFessler/LinearMapsAA.jl/workflows/CI/badge.svg?branch=main -[build-url]: https://github.com/JeffFessler/LinearMapsAA.jl/actions?query=workflow%3ACI+branch%3Amain -[pkgeval-img]: https://juliaci.github.io/NanosoldierReports/pkgeval_badges/L/LinearMapsAA.svg -[pkgeval-url]: https://juliaci.github.io/NanosoldierReports/pkgeval_badges/L/LinearMapsAA.html -[codecov-img]: https://codecov.io/github/JeffFessler/LinearMapsAA.jl/coverage.svg?branch=main -[codecov-url]: https://codecov.io/github/JeffFessler/LinearMapsAA.jl?branch=main -[docs-stable-img]: https://img.shields.io/badge/docs-stable-blue.svg -[docs-stable-url]: https://JeffFessler.github.io/LinearMapsAA.jl/stable + +[codecov-img]: https://codecov.io/github/JeffFessler/LinearMapsAA.jl/coverage.svg +[codecov-url]: https://codecov.io/github/JeffFessler/LinearMapsAA.jl + +[deps-img]: https://juliahub.com/docs/LinearMapsAA/deps.svg +[deps-url]: https://juliahub.com/ui/Packages/LinearMapsAA + [docs-dev-img]: https://img.shields.io/badge/docs-dev-blue.svg [docs-dev-url]: https://JeffFessler.github.io/LinearMapsAA.jl/dev +[docs-stable-img]: https://img.shields.io/badge/docs-stable-blue.svg +[docs-stable-url]: https://JeffFessler.github.io/LinearMapsAA.jl/stable + [license-img]: https://img.shields.io/badge/license-MIT-brightgreen.svg [license-url]: LICENSE + +[pkgeval-img]: https://juliaci.github.io/NanosoldierReports/pkgeval_badges/L/LinearMapsAA.svg +[pkgeval-url]: https://juliaci.github.io/NanosoldierReports/pkgeval_badges/L/LinearMapsAA.html + +[ver-img]: https://juliahub.com/docs/LinearMapsAA/version.svg +[ver-url]: https://juliahub.com/ui/Packages/LinearMapsAA diff --git a/test/Project.toml b/test/Project.toml index 4d58768..cd2c91a 100644 --- a/test/Project.toml +++ b/test/Project.toml @@ -2,6 +2,7 @@ CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba" LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e" LinearMaps = "7a12625a-238d-50fd-b39a-03d52299707e" +LinearMapsAA = "599c1a8e-b958-11e9-0d14-b1e6b2ecea07" LinearOperators = "5c8ed15e-5a4c-59e4-a42b-c7e8811fb125" SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf" Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" diff --git a/test/aqua.jl b/test/aqua.jl new file mode 100644 index 0000000..d5b5fdd --- /dev/null +++ b/test/aqua.jl @@ -0,0 +1,7 @@ +using LinearMapsAA: LinearMapsAA +import Aqua +using Test: @testset + +@testset "aqua" begin + Aqua.test_all(LinearMapsAA) +end diff --git a/test/runtests.jl b/test/runtests.jl index a1a32a2..cb2320f 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -11,6 +11,7 @@ function test_ambig(str::String) end end +# include("aqua.jl") # todo! include("multiply.jl") list = [