diff --git a/.github/workflows/Downgrade.yml b/.github/workflows/Downgrade.yml new file mode 100644 index 00000000..9afc8f0b --- /dev/null +++ b/.github/workflows/Downgrade.yml @@ -0,0 +1,62 @@ +name: Downgrade + +on: + pull_request: + paths-ignore: + - 'AUTHORS.md' + - 'CITATION.bib' + - 'LICENSE.md' + - 'README.md' + - '.zenodo.json' + - '.github/workflows/CompatHelper.yml' + - '.github/workflows/Documenter.yml' + - '.github/workflows/Format-check.yml' + - '.github/workflows/TagBot.yml' + - '.github/workflows/SpellCheck.yml' + - 'docs/**' + workflow_dispatch: + +# Cancel redundant CI tests automatically +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +jobs: + downgrade_test: + if: "!contains(github.event.head_commit.message, 'skip ci')" + # We could also include the Julia version as in + # name: ${{ matrix.trixi_test }} - ${{ matrix.os }} - Julia ${{ matrix.version }} - ${{ matrix.arch }} - ${{ github.event_name }} + # to be more specific. However, that requires us updating the required CI tests whenever we update Julia. + name: Downgrade ${{ matrix.trixi_test }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }} + runs-on: ${{ matrix.os }} + strategy: + fail-fast: false + matrix: + version: + - '1.9' + # - '~1.9.0-0' # including development versions + # - 'nightly' + os: + - ubuntu-latest + arch: + - x64 + steps: + - uses: actions/checkout@v4 + - uses: julia-actions/setup-julia@v1 + with: + version: ${{ matrix.version }} + arch: ${{ matrix.arch }} + - run: julia -e 'using InteractiveUtils; versioninfo(verbose=true)' + - uses: julia-actions/cache@v1 + - uses: cjdoris/julia-downgrade-compat-action@v1 + with: + skip: LinearAlgebra,Printf,SparseArrays + - uses: julia-actions/julia-buildpkg@v1 + env: + PYTHON: "" + - name: Run tests without coverage + uses: julia-actions/julia-runtest@v1 + with: + coverage: false + env: + PYTHON: "" diff --git a/Project.toml b/Project.toml index 4e7154d3..2a6af7d3 100644 --- a/Project.toml +++ b/Project.toml @@ -20,18 +20,18 @@ SummationByPartsOperators = "9f78cca6-572e-554e-b819-917d2f1cf240" TimerOutputs = "a759f4b9-e2f1-59dc-863e-4aeb61b1ea8f" [compat] -DiffEqBase = "6.121" -Interpolations = "0.14, 0.15" +DiffEqBase = "6.128" +Interpolations = "0.14.2, 0.15" LinearAlgebra = "1" PolynomialBases = "0.4.15" Printf = "1" RecipesBase = "1.1" Reexport = "1.0" Roots = "2.0.17" -SciMLBase = "1.90, 2" +SciMLBase = "1.93, 2" SimpleUnPack = "1.1" SparseArrays = "1" StaticArrays = "1" SummationByPartsOperators = "0.5.41" -TimerOutputs = "0.5" +TimerOutputs = "0.5.7" julia = "1.8"