-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* create Downgrade.yml * add compat bounds for stdlibs and remove unused TOML in Project.toml * skip Libdl (stdlib) * fix lower compat bounds
- Loading branch information
1 parent
27158f1
commit 2b5c0bf
Showing
3 changed files
with
69 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
name: Downgrade | ||
|
||
on: | ||
pull_request: | ||
paths-ignore: | ||
- 'AUTHORS.md' | ||
- 'CITATION.bib' | ||
- 'CONTRIBUTING.md' | ||
- 'LICENSE.md' | ||
- 'NEWS.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.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/[email protected] | ||
with: | ||
skip: Libdl,UUIDs | ||
- uses: julia-actions/julia-buildpkg@v1 | ||
env: | ||
PYTHON: "" | ||
- name: Run tests without coverage | ||
uses: julia-actions/julia-runtest@v1 | ||
with: | ||
coverage: false | ||
env: | ||
PYTHON: "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
[deps] | ||
MPI = "da04e1cc-30fd-572f-bb4f-1f8673147195" | ||
MPIPreferences = "3da0fdf6-3ccc-4f1b-acd9-58baa6c99267" | ||
TOML = "fa267f1f-6049-4f14-aa54-33bafae1ed76" | ||
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" | ||
|
||
[compat] | ||
MPI = "0.20" | ||
MPIPreferences = "0.1" | ||
Test = "1" |