Skip to content

Commit 431dfd9

Browse files
authored
Create Downgrade.yml (#92)
* Create Downgrade.yml * bump minimum version of MuladdMacro for compatibility with OrdinaryDiffEq * bump minimum compat of OrdinaryDiffEq.jl * bump minimum version of LinearSolve for compat with SciMLBase * Cancel redundant CI tests automatically * bump version of FastBroadcast for ArrayInterface compat * adapt test compat settings * bump compat for LinearSolve to include StaticArrays bugfixes * same for tests * update LinearSolve again to fix StaticArray issues
1 parent 7a6f614 commit 431dfd9

File tree

4 files changed

+60
-6
lines changed

4 files changed

+60
-6
lines changed

.github/workflows/CI.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ on:
88
branches:
99
- main
1010

11+
# Cancel redundant CI tests automatically
12+
concurrency:
13+
group: ${{ github.workflow }}-${{ github.ref }}
14+
cancel-in-progress: true
15+
1116
jobs:
1217
test:
1318
runs-on: ${{ matrix.os }}

.github/workflows/Downgrade.yml

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
name: Downgrade
2+
3+
on:
4+
pull_request:
5+
workflow_dispatch:
6+
7+
# Cancel redundant CI tests automatically
8+
concurrency:
9+
group: ${{ github.workflow }}-${{ github.ref }}
10+
cancel-in-progress: true
11+
12+
jobs:
13+
downgrade_test:
14+
if: "!contains(github.event.head_commit.message, 'skip ci')"
15+
name: Downgrade ${{ matrix.os }} - Julia ${{ matrix.version }} - ${{ github.event_name }}
16+
runs-on: ${{ matrix.os }}
17+
strategy:
18+
fail-fast: false
19+
matrix:
20+
version:
21+
- '1'
22+
- '1.9'
23+
os:
24+
- ubuntu-latest
25+
arch:
26+
- x64
27+
steps:
28+
- uses: actions/checkout@v4
29+
- uses: julia-actions/setup-julia@v2
30+
with:
31+
version: ${{ matrix.version }}
32+
arch: ${{ matrix.arch }}
33+
- run: julia -e 'using InteractiveUtils; versioninfo(verbose=true)'
34+
- uses: julia-actions/cache@v2
35+
- uses: julia-actions/julia-downgrade-compat@v1
36+
with:
37+
skip: LinearAlgebra,SparseArrays
38+
projects: ., test
39+
- uses: julia-actions/julia-buildpkg@v1
40+
env:
41+
PYTHON: ""
42+
GKSwstype: "100" # for Plots/GR
43+
- name: Run tests without coverage
44+
uses: julia-actions/julia-runtest@v1
45+
with:
46+
coverage: false
47+
env:
48+
PYTHON: ""
49+
GKSwstype: "100" # for Plots/GR

Project.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
1717
SymbolicIndexingInterface = "2efcf032-c050-4f8e-a9bb-153293bab1f5"
1818

1919
[compat]
20-
FastBroadcast = "0.2, 0.3"
20+
FastBroadcast = "0.2.5, 0.3"
2121
LinearAlgebra = "1.7"
22-
LinearSolve = "2"
23-
MuladdMacro = "0.2"
24-
OrdinaryDiffEq = "6"
22+
LinearSolve = "2.21"
23+
MuladdMacro = "0.2.1"
24+
OrdinaryDiffEq = "6.59"
2525
Reexport = "1"
2626
SciMLBase = "2"
2727
SimpleUnPack = "1"

test/Project.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
1010

1111
[compat]
1212
Aqua = "0.7, 0.8"
13-
LinearSolve = "2"
14-
OrdinaryDiffEq = "6"
13+
LinearSolve = "2.21"
14+
OrdinaryDiffEq = "6.59"
1515
StaticArrays = "1.5"
1616
Statistics = "1"

0 commit comments

Comments
 (0)