Skip to content

Commit b00ea5e

Browse files
fhagemannjverzani
andauthored
Add Downgrade CI workflow (#582)
* Add Downgrade CI * Relax `[compat]` package versions for std libs https://discourse.julialang.org/t/psa-compat-requirements-in-the-general-registry-are-changing/104958 * Adjust `[compat]` package versions for `Requires` --------- Co-authored-by: john verzani <[email protected]>
1 parent aa8e1be commit b00ea5e

File tree

2 files changed

+32
-4
lines changed

2 files changed

+32
-4
lines changed

.github/workflows/Downgrade.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
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+
jobs:
14+
test:
15+
runs-on: ubuntu-latest
16+
strategy:
17+
matrix:
18+
version: ['1.6', '1']
19+
steps:
20+
- uses: actions/checkout@v4
21+
- uses: julia-actions/setup-julia@v1
22+
with:
23+
version: ${{ matrix.version }}
24+
- uses: julia-actions/julia-downgrade-compat@v1
25+
with:
26+
skip: Pkg,TOML
27+
- uses: julia-actions/julia-buildpkg@v1
28+
- uses: julia-actions/julia-runtest@v1

Project.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,16 @@ ChainRulesCore = "1"
2929
ChainRulesTestUtils = "1"
3030
DualNumbers = "0.6"
3131
FFTW = "1"
32-
LinearAlgebra = "1.6"
32+
LinearAlgebra = "<0.0.1, 1"
3333
MakieCore = "0.6,0.7, 0.8"
3434
MutableArithmetics = "1"
3535
OffsetArrays = "1"
3636
RecipesBase = "0.7, 0.8, 1"
37-
Requires = "1.0"
37+
Requires = "1.1"
3838
Setfield = "1"
39-
SparseArrays = "1.6"
39+
SparseArrays = "<0.0.1, 1"
4040
SpecialFunctions = "1,2"
41-
Test = "1.6"
41+
Test = "<0.0.1, 1"
4242
julia = "1.6"
4343

4444
[extras]

0 commit comments

Comments
 (0)