From a263a0dc262eaf0a0f24d4ef451a1748ca675fe7 Mon Sep 17 00:00:00 2001 From: Arno Strouwen Date: Sat, 23 Dec 2023 14:55:33 +0100 Subject: [PATCH 1/2] Downgrade CI --- .github/workflows/CI.yml | 2 +- .github/workflows/Downgrade.yml | 29 +++++++++++++++++++++++++++++ Project.toml | 32 ++++++++++++++++---------------- 3 files changed, 46 insertions(+), 17 deletions(-) create mode 100644 .github/workflows/Downgrade.yml diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 969cc9bd..3c3e6c94 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -18,7 +18,7 @@ jobs: group: - Core version: - - '1.6' + - '1.9' steps: - uses: actions/checkout@v4 - uses: julia-actions/setup-julia@v1 diff --git a/.github/workflows/Downgrade.yml b/.github/workflows/Downgrade.yml new file mode 100644 index 00000000..01ff8cad --- /dev/null +++ b/.github/workflows/Downgrade.yml @@ -0,0 +1,29 @@ +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'] + steps: + - uses: actions/checkout@v4 + - uses: julia-actions/setup-julia@v1 + with: + version: ${{ matrix.version }} + - uses: cjdoris/julia-downgrade-compat-action@v1 +# if: ${{ matrix.version == '1.6' }} + with: + skip: Pkg,TOML + - uses: julia-actions/julia-buildpkg@v1 + - uses: julia-actions/julia-runtest@v1 \ No newline at end of file diff --git a/Project.toml b/Project.toml index 96d909c6..7e599cd7 100644 --- a/Project.toml +++ b/Project.toml @@ -17,22 +17,22 @@ SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf" Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2" [compat] -Adapt = "3.3.3, 4" -Aqua = "0.8" -CellularAutomata = "0.0.2" -DifferentialEquations = "7" -Distances = "0.10" -Distributions = "0.24, 0.25" -LIBSVM = "0.8" -LinearAlgebra = "1" -MLJLinearModels = "0.5, 0.6, 0.7, 0.8, 0.9" -NNlib = "0.8.4, 0.9" -Optim = "1" -Random = "1" -SafeTestsets = "0.1" -SparseArrays = "1" -Statistics = "1" -Test = "1" +Adapt = "~3.3.3" +Aqua = "=0.8.0" +CellularAutomata = "=0.0.2" +DifferentialEquations = "~7.0.0" +Distances = "=0.10.0" +Distributions = "=0.24.5" +LIBSVM = "=0.8.0" +LinearAlgebra = "~1.9.0" +MLJLinearModels = "=0.9.2" +NNlib = "=0.8.4" +Optim = "~1.0.0" +Random = "~1.0.0" +SafeTestsets = "=0.1.0" +SparseArrays = "~1.9.0" +Statistics = "~1.9.0" +Test = "~1.0.0" julia = "1.6" [extras] From 7ee703a98bf354e4c7fe8fff8414e9823e8fe2eb Mon Sep 17 00:00:00 2001 From: Arno Strouwen Date: Sat, 23 Dec 2023 15:43:39 +0100 Subject: [PATCH 2/2] revert strict downgrade scripts --- Project.toml | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/Project.toml b/Project.toml index 7e599cd7..865c3d05 100644 --- a/Project.toml +++ b/Project.toml @@ -17,22 +17,22 @@ SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf" Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2" [compat] -Adapt = "~3.3.3" -Aqua = "=0.8.0" -CellularAutomata = "=0.0.2" -DifferentialEquations = "~7.0.0" -Distances = "=0.10.0" -Distributions = "=0.24.5" -LIBSVM = "=0.8.0" -LinearAlgebra = "~1.9.0" -MLJLinearModels = "=0.9.2" -NNlib = "=0.8.4" -Optim = "~1.0.0" -Random = "~1.0.0" -SafeTestsets = "=0.1.0" -SparseArrays = "~1.9.0" -Statistics = "~1.9.0" -Test = "~1.0.0" +Adapt = "3.3.3, 4" +Aqua = "0.8" +CellularAutomata = "0.0.2" +DifferentialEquations = "7" +Distances = "0.10" +Distributions = "0.24.5, 0.25" +LIBSVM = "0.8" +LinearAlgebra = "1.9" +MLJLinearModels = "0.9.2" +NNlib = "0.8.4, 0.9" +Optim = "1" +Random = "1" +SafeTestsets = "0.1" +SparseArrays = "1.9" +Statistics = "1.9" +Test = "1" julia = "1.6" [extras]