Skip to content

Commit 679edf8

Browse files
Use julia-downgrade-compat@2 (#227)
Co-authored-by: Hendrik Ranocha <ranocha@users.noreply.github.com>
1 parent 3e20058 commit 679edf8

File tree

4 files changed

+17
-16
lines changed

4 files changed

+17
-16
lines changed

.github/dependabot.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,3 @@ updates:
1010
all-github-actions:
1111
patterns:
1212
- "*"
13-
ignore:
14-
- dependency-name: "julia-actions/julia-downgrade-compat"
15-
versions: [ ">=2.0.0" ]

.github/workflows/Downgrade.yml

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -48,16 +48,20 @@ jobs:
4848
version: ${{ matrix.version }}
4949
- run: julia -e 'using InteractiveUtils; versioninfo(verbose=true)'
5050
- uses: julia-actions/cache@v2
51-
- uses: julia-actions/julia-downgrade-compat@v1
51+
- uses: julia-actions/julia-downgrade-compat@v2
5252
with:
5353
skip: LinearAlgebra,Printf,SparseArrays,DelimitedFiles,Test
5454
projects: ., test
55-
- uses: julia-actions/julia-buildpkg@v1
56-
env:
57-
PYTHON: ""
58-
- name: Run tests without coverage
59-
uses: julia-actions/julia-runtest@v1
60-
with:
61-
coverage: false
62-
env:
63-
PYTHON: ""
55+
mode: forcedeps
56+
# We run the tests manually instead of using julia-action/julia-builpkg and julia-action/julia-runtest or `Pkg.test`
57+
# because otherwise the downgraded Manifest.toml is not used in the tests under julia <v1.12
58+
# see also https://github.com/julia-actions/julia-downgrade-compat/blob/00f940b7be2b50389571ed016d603be561649103/README.md#L89
59+
- name: Run tests
60+
run: |
61+
julia --project=test --color=yes -e '
62+
import Pkg
63+
Pkg.develop(Pkg.PackageSpec(path=pwd()))
64+
Pkg.instantiate()
65+
Pkg.status(; mode = Pkg.PKGMODE_MANIFEST)
66+
include("test/runtests.jl")
67+
'

Project.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,13 @@ PolynomialBases = "0.4.15"
3838
PreallocationTools = "0.4.23, 1"
3939
Printf = "1"
4040
RecipesBase = "1.3.4"
41-
RecursiveArrayTools = "3.27"
41+
RecursiveArrayTools = "3.27.2"
4242
Reexport = "1.2.2"
4343
Roots = "2.0.17"
4444
SciMLBase = "2.78"
4545
SimpleUnPack = "1.1"
4646
SparseArrays = "1"
47-
StaticArrays = "1.9.7"
47+
StaticArrays = "1.9.8"
4848
SummationByPartsOperators = "0.5.79"
4949
TimerOutputs = "0.5.25"
5050
TrixiBase = "0.1.6"

test/Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ ForwardDiff = "0.10.36, 1"
2020
OrdinaryDiffEqLowStorageRK = "1.1"
2121
OrdinaryDiffEqRosenbrock = "1.9"
2222
OrdinaryDiffEqTsit5 = "1.1"
23-
Plots = "1.25"
23+
Plots = "1.38.9"
2424
SparseArrays = "1"
2525
SummationByPartsOperators = "0.5.79"
2626
Test = "1"

0 commit comments

Comments
 (0)