|
| 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 | + |
| 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: "" |
0 commit comments