Skip to content

Commit 15b06d9

Browse files
Merge pull request #118 from ArnoStrouwen/ci
CI
2 parents d1d25b6 + af368af commit 15b06d9

File tree

15 files changed

+152
-67
lines changed

15 files changed

+152
-67
lines changed

.JuliaFormatter.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
style = "sciml"
2-
format_markdown = true
2+
format_markdown = true
3+
format_docstrings = true

.github/dependabot.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,6 @@ updates:
55
directory: "/" # Location of package manifests
66
schedule:
77
interval: "weekly"
8+
ignore:
9+
- dependency-name: "crate-ci/typos"
10+
update-types: ["version-update:semver-patch", "version-update:semver-minor"]

.github/workflows/CI.yml

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,33 +10,36 @@ on:
1010
- master
1111
paths-ignore:
1212
- 'docs/**'
13+
schedule:
14+
- cron: '25 15 * * 4'
1315
jobs:
1416
test:
15-
runs-on: ubuntu-latest
17+
runs-on: ${{ matrix.os }}
18+
env:
19+
GROUP: ${{ matrix.group }}
1620
strategy:
21+
fail-fast: false
1722
matrix:
1823
group:
1924
- Core
2025
version:
2126
- '1'
22-
- '1.6'
27+
os:
28+
- ubuntu-latest
29+
- macos-latest
30+
- windows-latest
2331
steps:
2432
- uses: actions/checkout@v4
2533
- uses: julia-actions/setup-julia@v2
2634
with:
2735
version: ${{ matrix.version }}
28-
- uses: actions/cache@v4
29-
env:
30-
cache-name: cache-artifacts
36+
- uses: julia-actions/cache@v1
3137
with:
32-
path: ~/.julia/artifacts
33-
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
34-
restore-keys: |
35-
${{ runner.os }}-test-${{ env.cache-name }}-
36-
${{ runner.os }}-test-
37-
${{ runner.os }}-
38+
token: ${{ secrets.GITHUB_TOKEN }}
3839
- uses: julia-actions/julia-buildpkg@v1
3940
- uses: julia-actions/julia-runtest@v1
41+
with:
42+
depwarn: error
4043
- uses: julia-actions/julia-processcoverage@v1
4144
- uses: codecov/codecov-action@v4
4245
with:

.github/workflows/Documentation.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ on:
77
- 'release-'
88
tags: '*'
99
pull_request:
10-
10+
schedule:
11+
- cron: '25 15 * * 4'
1112
jobs:
1213
build:
1314
runs-on: ubuntu-latest

.github/workflows/Downgrade.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: Downgrade
2+
on:
3+
pull_request:
4+
branches:
5+
- master
6+
paths-ignore:
7+
- 'docs/**'
8+
push:
9+
branches:
10+
- master
11+
paths-ignore:
12+
- 'docs/**'
13+
schedule:
14+
- cron: '25 15 * * 4'
15+
jobs:
16+
test:
17+
runs-on: ${{ matrix.os }}
18+
env:
19+
GROUP: ${{ matrix.group }}
20+
strategy:
21+
fail-fast: false
22+
matrix:
23+
group:
24+
- Core
25+
version:
26+
- '1'
27+
os:
28+
- ubuntu-latest
29+
- macos-latest
30+
- windows-latest
31+
steps:
32+
- uses: actions/checkout@v4
33+
- uses: julia-actions/setup-julia@v1
34+
with:
35+
version: ${{ matrix.version }}
36+
- uses: cjdoris/julia-downgrade-compat-action@v1
37+
with:
38+
skip: Pkg,TOML
39+
- uses: julia-actions/cache@v1
40+
with:
41+
token: ${{ secrets.GITHUB_TOKEN }}
42+
- uses: julia-actions/julia-buildpkg@v1
43+
- uses: julia-actions/julia-runtest@v1

.github/workflows/SpellCheck.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: Spell Check
2+
3+
on: [pull_request]
4+
5+
jobs:
6+
typos-check:
7+
name: Spell Check with Typos
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Checkout Actions Repository
11+
uses: actions/checkout@v3
12+
- name: Check spelling
13+
uses: crate-ci/[email protected]

.typos.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
[default.extend-words]

Project.toml

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,25 @@ Reexport = "189a3867-3050-52da-a836-e630ba90ab69"
1414
SciMLBase = "0bca4576-84f4-4d90-8ffe-ffa030f20462"
1515

1616
[compat]
17-
DataStructures = "0.17, 0.18"
18-
DiffEqBase = "6.5"
19-
DocStringExtensions = "0.8, 0.9"
20-
Latexify = "0.14, 0.15, 0.16"
21-
ModelingToolkit = "7, 8, 9"
22-
Reexport = "0.2, 1.0"
23-
SciMLBase = "1.3, 2"
24-
julia = "1.6"
17+
Aqua = "0.8"
18+
DataStructures = "0.18.13"
19+
DiffEqBase = "6.144"
20+
DocStringExtensions = "0.9"
21+
InteractiveUtils = "1.10"
22+
Latexify = "0.16"
23+
LinearAlgebra = "1.10"
24+
ModelingToolkit = "8.74, 9"
25+
Reexport = "1"
26+
SciMLBase = "2.15"
27+
SpecialFunctions = "2"
28+
Test = "1.10"
29+
julia = "1.10"
2530

2631
[extras]
32+
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
2733
InteractiveUtils = "b77e0a4c-d291-57a0-90e8-8db25a27a240"
2834
SpecialFunctions = "276daf66-3868-5448-9aa4-cd146d93841b"
2935
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
3036

3137
[targets]
32-
test = ["InteractiveUtils", "SpecialFunctions", "Test"]
38+
test = ["Aqua", "InteractiveUtils", "SpecialFunctions", "Test"]

docs/make.jl

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ cp("./docs/Project.toml", "./docs/src/assets/Project.toml", force = true)
66
include("pages.jl")
77

88
makedocs(sitename = "ParameterizedFunctions.jl",
9-
authors = "Chris Rackauckas",
10-
modules = [ParameterizedFunctions],
11-
clean = true, doctest = false, linkcheck = true,
12-
format = Documenter.HTML(assets = ["assets/favicon.ico"],
13-
canonical = "https://docs.sciml.ai/ParameterizedFunctions/stable/"),
14-
pages = pages)
9+
authors = "Chris Rackauckas",
10+
modules = [ParameterizedFunctions],
11+
clean = true, doctest = false, linkcheck = true,
12+
format = Documenter.HTML(assets = ["assets/favicon.ico"],
13+
canonical = "https://docs.sciml.ai/ParameterizedFunctions/stable/"),
14+
pages = pages)
1515

1616
deploydocs(repo = "github.com/SciML/ParameterizedFunctions.jl.git";
17-
push_preview = true)
17+
push_preview = true)

docs/pages.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22

33
pages = [
44
"Home" => "index.md",
5-
"ode_def.md",
5+
"ode_def.md"
66
]

0 commit comments

Comments
 (0)