Skip to content

Commit 3f63e44

Browse files
Merge pull request #24 from ChrisRackauckas-Claude/migrate-to-centralized-workflows
Migrate CI to centralized SciML reusable workflows
2 parents 0f8a9e0 + 2461f0d commit 3f63e44

6 files changed

Lines changed: 106 additions & 89 deletions

File tree

.github/workflows/CI.yml

Lines changed: 0 additions & 74 deletions
This file was deleted.
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: "Documentation"
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches:
7+
- main
8+
tags: ["*"]
9+
workflow_dispatch:
10+
11+
concurrency:
12+
group: ${{ github.workflow }}-${{ github.ref }}
13+
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
14+
15+
jobs:
16+
documentation:
17+
name: "Documentation"
18+
uses: "SciML/.github/.github/workflows/documentation.yml@v1"
19+
with:
20+
julia-version: "1"
21+
coverage: false
22+
secrets: "inherit"

.github/workflows/Downgrade.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: "Downgrade"
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- main
7+
push:
8+
branches:
9+
- main
10+
workflow_dispatch:
11+
12+
concurrency:
13+
group: ${{ github.workflow }}-${{ github.ref }}
14+
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
15+
16+
jobs:
17+
downgrade:
18+
name: "Downgrade Tests"
19+
uses: "SciML/.github/.github/workflows/downgrade.yml@v1"
20+
with:
21+
julia-version: "lts"
22+
skip: "Pkg,TOML"
23+
secrets: "inherit"

.github/workflows/FormatCheck.yml

Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,19 @@
1-
name: format-check
1+
name: "Format Check"
22

33
on:
4+
pull_request:
45
push:
56
branches:
6-
- 'master'
7-
- 'main'
8-
- 'release-'
9-
tags: '*'
10-
pull_request:
7+
- main
8+
tags: ["*"]
9+
workflow_dispatch:
10+
11+
concurrency:
12+
group: ${{ github.workflow }}-${{ github.ref }}
13+
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
1114

1215
jobs:
1316
runic:
14-
runs-on: ubuntu-latest
15-
steps:
16-
- uses: actions/checkout@v6
17-
- uses: julia-actions/setup-julia@v2
18-
with:
19-
version: '1'
20-
- uses: fredrikekre/runic-action@v1
21-
with:
22-
version: '1'
17+
name: "Runic Format Check"
18+
uses: "SciML/.github/.github/workflows/runic.yml@v1"
19+
secrets: "inherit"

.github/workflows/SpellCheck.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: "Spell Check"
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches:
7+
- main
8+
workflow_dispatch:
9+
10+
jobs:
11+
typos:
12+
name: "Spell Check with Typos"
13+
uses: "SciML/.github/.github/workflows/spellcheck.yml@v1"
14+
secrets: "inherit"

.github/workflows/Tests.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: "Tests"
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches:
7+
- main
8+
tags: ["*"]
9+
workflow_dispatch:
10+
11+
concurrency:
12+
group: ${{ github.workflow }}-${{ github.ref }}
13+
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
14+
15+
jobs:
16+
tests:
17+
name: "Tests"
18+
strategy:
19+
fail-fast: false
20+
matrix:
21+
version:
22+
- "lts"
23+
- "1"
24+
- "pre"
25+
os:
26+
- ubuntu-latest
27+
- macOS-latest
28+
- windows-latest
29+
uses: "SciML/.github/.github/workflows/tests.yml@v1"
30+
with:
31+
julia-version: "${{ matrix.version }}"
32+
julia-arch: "x64"
33+
os: "${{ matrix.os }}"
34+
coverage: true
35+
secrets: "inherit"

0 commit comments

Comments
 (0)