Skip to content
Merged
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
7 changes: 6 additions & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@

version: 2
updates:
- package-ecosystem: github-actions
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"

- package-ecosystem: "julia"
directory: "/"
schedule:
interval: "weekly"
58 changes: 31 additions & 27 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,43 +3,53 @@ name: CI
on:
create:
tags:
push:
branches:
- main
pull_request:
paths-ignore:
- '**.md'
- 'docs/**'
pull_request:
push:
branches:
- main
paths-ignore:
- '**.md'
- 'docs/**'
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@v7 # 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 }} - ${{ matrix.arch }}
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.6', '1', 'nightly']
os: [ubuntu-latest, windows-latest, macOS-latest]
arch:
- x64
include:
- version: '1'
os: ubuntu-latest
arch: x64
coverage: true
version: ${{ fromJSON(needs.version.outputs.json) }}
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v7

# - name: "Set up Julia"
- uses: julia-actions/setup-julia@latest
- uses: julia-actions/setup-julia@v3
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}

- name: Cache artifacts
uses: actions/cache@v6
Expand All @@ -54,21 +64,15 @@ jobs:
${{ runner.os }}-

# - name: "Unit Test"
- uses: julia-actions/julia-buildpkg@latest
- uses: julia-actions/julia-runtest@latest
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1

# - name: "Cover"
- uses: julia-actions/julia-processcoverage@v1
if: matrix.coverage
- uses: codecov/codecov-action@v7
if: matrix.coverage
if: ${{ matrix.version == '1' && matrix.os == 'ubuntu-latest' }}
with:
file: lcov.info
fail_ci_if_error: false
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
- uses: coverallsapp/github-action@master
if: matrix.coverage
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: ./lcov.info
48 changes: 0 additions & 48 deletions .github/workflows/CompatHelper.yml

This file was deleted.

22 changes: 15 additions & 7 deletions .github/workflows/Documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,29 @@ name: Documentation
on:
pull_request:
paths-ignore:
- 'README.md'
- 'readme.md'
push:
paths-ignore:
- 'README.md'
branches:
- 'main'
- 'release-'
paths-ignore:
- 'readme.md'
tags: '*'

jobs:
build:
# These permissions are needed to:
# - Deploy the documentation: https://documenter.juliadocs.org/stable/man/hosting/#Permissions
# - Delete old caches: https://github.com/julia-actions/cache#usage
permissions:
actions: write
contents: write
pull-requests: read
statuses: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: julia-actions/setup-julia@latest
- uses: julia-actions/setup-julia@v3
with:
version: '1'
- name: CacheArtifacts
Expand All @@ -33,15 +41,15 @@ jobs:
${{ runner.os }}-
- name: InstallDependencies
run: |
julia --project=docs/ -e '
julia --color=yes --project=docs/ -e '
ENV["JULIA_PKG_SERVER"] = ""
using Pkg
Pkg.develop(PackageSpec(path=pwd()))
Pkg.instantiate()'
- name: BuildAndDeploy
run: julia --color=yes --project=docs/ docs/make.jl
env:
# https://juliadocs.github.io/Documenter.jl/stable/man/hosting/#Authentication:-GITHUB_TOKEN
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # for previews
ssh: ${{ secrets.DOCUMENTER_KEY }}
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
run: julia --project=docs/ docs/make.jl
5 changes: 4 additions & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,14 @@ name = "SpecialMatrices"
uuid = "928aab9d-ef52-54ac-8ca1-acd7ca42c160"
version = "3.1.0"

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

[deps]
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
Polynomials = "f27b6e38-b328-58d1-80ce-0feddd5e7a45"

[compat]
LinearAlgebra = "1"
Polynomials = "1, 2, 3, 4"
julia = "1.6"
julia = "1.12.6"
2 changes: 1 addition & 1 deletion docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ if isci
devurl = "dev",
versions = ["stable" => "v^", "dev" => "dev"],
forcepush = true,
# push_preview = true,
push_preview = true,
# see https://$org.github.io/$repo.jl/previews/PR##
)
end
46 changes: 26 additions & 20 deletions README.md → readme.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
# SpecialMatrices.jl

[![action status][action-img]][action-url]
[![pkgeval status][pkgeval-img]][pkgeval-url]
[![codecov][codecov-img]][codecov-url]
[![coveralls][coveralls-img]][coveralls-url]
[![license][license-img]][license-url]
[![docs-stable][docs-stable-img]][docs-stable-url]
[![docs-dev][docs-dev-img]][docs-dev-url]
[![deps](https://juliahub.com/docs/SpecialMatrices/deps.svg)](https://juliahub.com/ui/Packages/SpecialMatrices)
[![version](https://juliahub.com/docs/SpecialMatrices/version.svg)](https://juliahub.com/ui/Packages/SpecialMatrices)
[![pkgeval](https://juliahub.com/docs/SpecialMatrices/pkgeval.svg)](https://juliahub.com/ui/Packages/SpecialMatrices)
[![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]
[![pkgeval][pkgeval-img]][pkgeval-url]
[![version][ver-img]][ver-url]

https://github.com/JuliaLinearAlgebra/SpecialMatrices.jl

Expand Down Expand Up @@ -290,19 +289,26 @@ julia> A' \ A[2,:]
<!-- URLs -->
[action-img]: https://github.com/JuliaLinearAlgebra/SpecialMatrices.jl/workflows/CI/badge.svg
[action-url]: https://github.com/JuliaLinearAlgebra/SpecialMatrices.jl/actions
[build-img]: https://github.com/JuliaLinearAlgebra/SpecialMatrices.jl/workflows/CI/badge.svg?branch=master
[build-url]: https://github.com/JuliaLinearAlgebra/SpecialMatrices.jl/actions?query=workflow%3ACI+branch%3Amaster
[pkgeval-img]: https://juliaci.github.io/NanosoldierReports/pkgeval_badges/S/SpecialMatrices.svg
[pkgeval-url]: https://juliaci.github.io/NanosoldierReports/pkgeval_badges/S/SpecialMatrices.html
[code-blue-img]: https://img.shields.io/badge/code%20style-blue-4495d1.svg
[code-blue-url]: https://github.com/invenia/BlueStyle
[codecov-img]: https://codecov.io/github/JuliaLinearAlgebra/SpecialMatrices.jl/coverage.svg?branch=master
[codecov-url]: https://codecov.io/github/JuliaLinearAlgebra/SpecialMatrices.jl?branch=master
[coveralls-img]: https://coveralls.io/repos/JuliaLinearAlgebra/SpecialMatrices.jl/badge.svg?branch=master
[coveralls-url]: https://coveralls.io/github/JuliaLinearAlgebra/SpecialMatrices.jl?branch=master
[docs-stable-img]: https://img.shields.io/badge/docs-stable-blue.svg
[docs-stable-url]: https://JuliaLinearAlgebra.github.io/SpecialMatrices.jl/stable

[aqua-img]: https://juliatesting.github.io/Aqua.jl/dev/assets/badge.svg
[aqua-url]: https://github.com/JuliaTesting/Aqua.jl

[codecov-img]: https://codecov.io/github/JuliaLinearAlgebra/SpecialMatrices.jl/coverage.svg
[codecov-url]: https://codecov.io/github/JuliaLinearAlgebra/SpecialMatrices.jl

[deps-img]: https://juliahub.com/docs/SpecialMatrices/deps.svg
[deps-url]: https://juliahub.com/ui/Packages/SpecialMatrices

[docs-dev-img]: https://img.shields.io/badge/docs-dev-blue.svg
[docs-dev-url]: https://JuliaLinearAlgebra.github.io/SpecialMatrices.jl/dev
[docs-stable-img]: https://img.shields.io/badge/docs-stable-blue.svg
[docs-stable-url]: https://JuliaLinearAlgebra.github.io/SpecialMatrices.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/S/SpecialMatrices.svg
[pkgeval-url]: https://juliaci.github.io/NanosoldierReports/pkgeval_badges/S/SpecialMatrices.html

[ver-img]: https://juliahub.com/docs/SpecialMatrices/version.svg
[ver-url]: https://juliahub.com/ui/Packages/SpecialMatrices
3 changes: 1 addition & 2 deletions test/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@ Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
OffsetArrays = "6fe1bfb0-de20-5000-8ca7-80f57d26f881"
Polynomials = "f27b6e38-b328-58d1-80ce-0feddd5e7a45"
SpecialMatrices = "928aab9d-ef52-54ac-8ca1-acd7ca42c160"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[compat]
Loading