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
3 changes: 0 additions & 3 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ updates:
directory: "/" # Location of package manifests
schedule:
interval: "weekly"
ignore:
- dependency-name: "crate-ci/typos"
update-types: ["version-update:semver-patch", "version-update:semver-minor"]
- package-ecosystem: "julia"
directories:
- "/"
Expand Down
19 changes: 7 additions & 12 deletions .github/workflows/FormatCheck.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
name: format-check

name: Format Check
on:
push:
branches:
Expand All @@ -8,15 +7,11 @@ on:
- 'release-'
tags: '*'
pull_request:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
jobs:
runic:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: julia-actions/setup-julia@v3
with:
version: '1'
- uses: fredrikekre/runic-action@v1
with:
version: '1'
name: Format Check
uses: "SciML/.github/.github/workflows/runic.yml@v1"
secrets: "inherit"
13 changes: 5 additions & 8 deletions .github/workflows/SpellCheck.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
name: Spell Check

on: [pull_request]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
jobs:
typos-check:
name: Spell Check with Typos
runs-on: ubuntu-latest
steps:
- name: Checkout Actions Repository
uses: actions/checkout@v6
- name: Check spelling
uses: crate-ci/typos@v1.34.0
uses: "SciML/.github/.github/workflows/spellcheck.yml@v1"
secrets: "inherit"
41 changes: 10 additions & 31 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,12 @@ on:
branches:
- main
tags: '*'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
jobs:
test:
name: Julia ${{ matrix.version }} - ${{ matrix.group }} - ${{ github.event_name }}
runs-on: ${{ matrix.os }}
name: Tests
strategy:
fail-fast: false
matrix:
Expand All @@ -23,40 +25,17 @@ jobs:
- nopre
version:
- 'lts'
- '1' # Leave this line unchanged. '1' will automatically expand to the latest stable 1.x release of Julia.
- '1'
- 'pre'
os:
- ubuntu-latest
arch:
- x64
exclude:
- group: nopre
version: 'pre'
- group: Downstream
version: 'pre'
- group: Reactant
version: 'pre'
steps:
- uses: actions/checkout@v6
- uses: julia-actions/setup-julia@v3
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
- uses: actions/cache@v5
env:
cache-name: cache-artifacts
with:
path: ~/.julia/artifacts
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
restore-keys: |
${{ runner.os }}-test-${{ env.cache-name }}-
${{ runner.os }}-test-
${{ runner.os }}-
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1
env:
GROUP: ${{ matrix.group }}
- uses: julia-actions/julia-processcoverage@v1
- uses: codecov/codecov-action@v6
with:
file: lcov.info
uses: "SciML/.github/.github/workflows/tests.yml@v1"
with:
group: "${{ matrix.group }}"
julia-version: "${{ matrix.version }}"
secrets: "inherit"
25 changes: 9 additions & 16 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,16 @@
name: Documentation

on:
push:
branches: [main]
tags: '*'
pull_request:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: julia-actions/setup-julia@latest
with:
version: '1.10'
- name: Install dependencies
run: julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
- name: Build and deploy
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # For authentication with GitHub Actions token
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} # For authentication with SSH deploy key
run: julia --project=docs/ docs/make.jl
docs:
name: Documentation
uses: "SciML/.github/.github/workflows/documentation.yml@v1"
with:
coverage: false
secrets: "inherit"
32 changes: 13 additions & 19 deletions .github/workflows/downgrade.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,27 +10,21 @@ on:
- main
paths-ignore:
- 'docs/**'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
jobs:
test:
runs-on: ubuntu-latest
downgrade:
name: Downgrade
strategy:
fail-fast: false
matrix:
group:
- Core
downgrade_mode: ['alldeps']
julia-version: ['1.10']
steps:
- uses: actions/checkout@v6
- uses: julia-actions/setup-julia@v3
with:
version: ${{ matrix.julia-version }}
- uses: julia-actions/julia-downgrade-compat@v2
# if: ${{ matrix.version == '1.6' }}
with:
skip: Pkg,TOML
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1
with:
allow_reresolve: false
env:
GROUP: ${{ matrix.group }}
uses: "SciML/.github/.github/workflows/downgrade.yml@v1"
with:
group: "${{ matrix.group }}"
julia-version: "1.10"
skip: "Pkg,TOML"
allow-reresolve: false
secrets: "inherit"