Skip to content

Commit 5f12d30

Browse files
dependabot[bot]JoshuaLampertSKopecz
authored
Bump julia-actions/julia-downgrade-compat from 1 to 2 (#168)
* Bump julia-actions/julia-downgrade-compat from 1 to 2 Bumps [julia-actions/julia-downgrade-compat](https://github.com/julia-actions/julia-downgrade-compat) from 1 to 2. - [Release notes](https://github.com/julia-actions/julia-downgrade-compat/releases) - [Commits](julia-actions/julia-downgrade-compat@v1...v2) --- updated-dependencies: - dependency-name: julia-actions/julia-downgrade-compat dependency-version: '2' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * add allow_reresolve: false * forcedeps, julia_version, force_latest_compatible_version * remove ignore in dependabot * bump Plots.jl to v1.38.9 * bump StaticArrays.jl to v1.9.8 * bump compat of OrdinaryDiffEqCore.jl to v3.0.1 * use default julia version * try copying Manifest.toml and manual testing instead of julia-runtest * fix syntax * another try to fix syntax * add Pkg.status() to verify correct package versions * verify that newer versions in logs are only due to Aqua.jl * try again * try again with julia-runtest, but also copy Manifest.toml * allow_reresolve and force_latest_compatible_version * try patched downgrade action version from PR * remove copying Manifest.toml * run on v1.12 * use new commit * try v1.12 again * manually run tests again * also try v2 should not work because we do not copy the Manifest.toml to test/, but just to verify that * run Aqua.jl tests again * use Pkg.test and add comment * use include instead of Pkg.test again --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Joshua Lampert <joshua.lampert@uni-hamburg.de> Co-authored-by: Stefan Kopecz <SKopecz@users.noreply.github.com> Co-authored-by: Joshua Lampert <51029046+JoshuaLampert@users.noreply.github.com>
1 parent 3d058b6 commit 5f12d30

4 files changed

Lines changed: 18 additions & 20 deletions

File tree

.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 & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -36,19 +36,20 @@ jobs:
3636
arch: ${{ matrix.arch }}
3737
- run: julia -e 'using InteractiveUtils; versioninfo(verbose=true)'
3838
- uses: julia-actions/cache@v2
39-
- uses: julia-actions/julia-downgrade-compat@v1
39+
- uses: julia-actions/julia-downgrade-compat@v2
4040
with:
4141
skip: LinearAlgebra,SparseArrays,Statistics,Test
4242
projects: ., test
43-
- uses: julia-actions/julia-buildpkg@v1
44-
env:
45-
PYTHON: ""
46-
GKSwstype: "100" # for Plots/GR
47-
- name: Run tests without coverage
48-
uses: julia-actions/julia-runtest@v1
49-
with:
50-
coverage: false
51-
env:
52-
PYTHON: ""
53-
GKSwstype: "100" # for Plots/GR
54-
POSITIVEINTEGRATORS_DOWNGRADE_CI: "true"
43+
mode: forcedeps
44+
# We run the tests manually instead of using julia-action/julia-builpkg and julia-action/julia-runtest or `Pkg.test`
45+
# because otherwise the downgraded Manifest.toml is not used in the tests under julia <v1.12
46+
# see also https://github.com/julia-actions/julia-downgrade-compat/blob/00f940b7be2b50389571ed016d603be561649103/README.md#L89
47+
- name: Run tests
48+
run: |
49+
julia --project=test --color=yes -e '
50+
import Pkg
51+
Pkg.develop(Pkg.PackageSpec(path=pwd()))
52+
Pkg.instantiate()
53+
Pkg.status(; mode = Pkg.PKGMODE_MANIFEST)
54+
include("test/runtests.jl")
55+
'

Project.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@ JuMP = "1.28"
2929
LinearAlgebra = "1"
3030
LinearSolve = "3.54"
3131
MuladdMacro = "0.2.4"
32-
OrdinaryDiffEqCore = "3"
32+
OrdinaryDiffEqCore = "3.0.1"
3333
RecipesBase = "1.3.4"
3434
Reexport = "1.2.2"
3535
SciMLBase = "2.128"
3636
SparseArrays = "1"
37-
StaticArrays = "1.9.7"
37+
StaticArrays = "1.9.8"
3838
Statistics = "1"
3939
SymbolicIndexingInterface = "0.3.43"
4040
julia = "1.10"

test/Project.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@ OrdinaryDiffEqRosenbrock = "1.22"
3535
OrdinaryDiffEqSDIRK = "1.11"
3636
OrdinaryDiffEqTsit5 = "1.9"
3737
OrdinaryDiffEqVerner = "1.10"
38-
Plots = "1.33"
38+
Plots = "1.38.9"
3939
RecipesBase = "1.3.4"
4040
RecursiveFactorization = "0.2.26"
4141
SparseArrays = "1"
42-
StaticArrays = "1.9.7"
42+
StaticArrays = "1.9.8"
4343
Statistics = "1"
4444
Test = "1"
4545
Unitful = "1.21"

0 commit comments

Comments
 (0)