Skip to content

Commit

Permalink
Add Downgrade CI workflow (#582)
Browse files Browse the repository at this point in the history
* 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]>
  • Loading branch information
fhagemann and jverzani authored Aug 19, 2024
1 parent aa8e1be commit b00ea5e
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 4 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/Downgrade.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Downgrade
on:
pull_request:
branches:
- master
paths-ignore:
- 'docs/**'
push:
branches:
- master
paths-ignore:
- 'docs/**'
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
version: ['1.6', '1']
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v1
with:
version: ${{ matrix.version }}
- uses: julia-actions/julia-downgrade-compat@v1
with:
skip: Pkg,TOML
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1
8 changes: 4 additions & 4 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,16 @@ ChainRulesCore = "1"
ChainRulesTestUtils = "1"
DualNumbers = "0.6"
FFTW = "1"
LinearAlgebra = "1.6"
LinearAlgebra = "<0.0.1, 1"
MakieCore = "0.6,0.7, 0.8"
MutableArithmetics = "1"
OffsetArrays = "1"
RecipesBase = "0.7, 0.8, 1"
Requires = "1.0"
Requires = "1.1"
Setfield = "1"
SparseArrays = "1.6"
SparseArrays = "<0.0.1, 1"
SpecialFunctions = "1,2"
Test = "1.6"
Test = "<0.0.1, 1"
julia = "1.6"

[extras]
Expand Down

0 comments on commit b00ea5e

Please sign in to comment.