Skip to content

Commit 9504fb8

Browse files
committed
CI
1 parent 70397f4 commit 9504fb8

File tree

9 files changed

+105
-21
lines changed

9 files changed

+105
-21
lines changed

.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"
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"
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"]

test/qa.jl

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
using ParameterizedFunctions, Aqua
2+
@testset "Aqua" begin
3+
Aqua.find_persistent_tasks_deps(ParameterizedFunctions)
4+
Aqua.test_ambiguities(ParameterizedFunctions, recursive = false)
5+
Aqua.test_deps_compat(ParameterizedFunctions)
6+
Aqua.test_piracies(ParameterizedFunctions,
7+
treat_as_own = [ParameterizedFunctions.SciMLBase.AbstractParameterizedFunction])
8+
Aqua.test_project_extras(ParameterizedFunctions)
9+
Aqua.test_stale_deps(ParameterizedFunctions)
10+
Aqua.test_unbound_args(ParameterizedFunctions)
11+
Aqua.test_undefined_exports(ParameterizedFunctions, broken=true)
12+
end

test/runtests.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ using Test, InteractiveUtils, Latexify
33

44
using SpecialFunctions
55

6+
include("./qa.jl")
7+
68
### ODE Macros
79

810
println("Build some examples")

0 commit comments

Comments
 (0)