Skip to content

Commit d8f9add

Browse files
Create Downgrade.yml (#105)
* Create Downgrade.yml * use latest version of downgrade action * skipt UUIDs * fix lower compat bounds * set version of downgrade action back to v1 * set version of compat action back to v1.0.7
1 parent 21de330 commit d8f9add

File tree

2 files changed

+67
-3
lines changed

2 files changed

+67
-3
lines changed

.github/workflows/Downgrade.yml

+64
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
name: Downgrade
2+
3+
on:
4+
pull_request:
5+
paths-ignore:
6+
- 'AUTHORS.md'
7+
- 'CITATION.bib'
8+
- 'CONTRIBUTING.md'
9+
- 'LICENSE.md'
10+
- 'NEWS.md'
11+
- 'README.md'
12+
- '.zenodo.json'
13+
- '.github/workflows/CompatHelper.yml'
14+
- '.github/workflows/Documenter.yml'
15+
- '.github/workflows/Format-check.yml'
16+
- '.github/workflows/TagBot.yml'
17+
- '.github/workflows/SpellCheck.yml'
18+
- 'docs/**'
19+
workflow_dispatch:
20+
21+
# Cancel redundant CI tests automatically
22+
concurrency:
23+
group: ${{ github.workflow }}-${{ github.ref }}
24+
cancel-in-progress: true
25+
26+
jobs:
27+
downgrade_test:
28+
if: "!contains(github.event.head_commit.message, 'skip ci')"
29+
# We could also include the Julia version as in
30+
# name: ${{ matrix.trixi_test }} - ${{ matrix.os }} - Julia ${{ matrix.version }} - ${{ matrix.arch }} - ${{ github.event_name }}
31+
# to be more specific. However, that requires us updating the required CI tests whenever we update Julia.
32+
name: Downgrade ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
33+
runs-on: ${{ matrix.os }}
34+
strategy:
35+
fail-fast: false
36+
matrix:
37+
version:
38+
- '1.9'
39+
# - '~1.9.0-0' # including development versions
40+
# - 'nightly'
41+
os:
42+
- ubuntu-latest
43+
arch:
44+
- x64
45+
steps:
46+
- uses: actions/checkout@v4
47+
- uses: julia-actions/setup-julia@v1
48+
with:
49+
version: ${{ matrix.version }}
50+
arch: ${{ matrix.arch }}
51+
- run: julia -e 'using InteractiveUtils; versioninfo(verbose=true)'
52+
- uses: julia-actions/cache@v1
53+
- uses: cjdoris/[email protected]
54+
with:
55+
skip: UUIDs
56+
- uses: julia-actions/julia-buildpkg@v1
57+
env:
58+
PYTHON: ""
59+
- name: Run tests without coverage
60+
uses: julia-actions/julia-runtest@v1
61+
with:
62+
coverage: false
63+
env:
64+
PYTHON: ""

Project.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ UUIDs = "cf7118a7-6976-5b1a-9a39-7adc72f591a4"
1515
[compat]
1616
CEnum = "0.4, 0.5"
1717
MPI = "0.20"
18-
MPIPreferences = "0.1"
18+
MPIPreferences = "0.1.3"
1919
P4est_jll = "=2.8.1"
20-
Preferences = "1"
21-
Reexport = "0.2, 1.0"
20+
Preferences = "1.2"
21+
Reexport = "1.0"
2222
UUIDs = "1.6"
2323
julia = "1.6"

0 commit comments

Comments
 (0)