Skip to content

Commit

Permalink
ci: use python 3.11 for bmipy compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
wpbonelli committed Oct 11, 2023
1 parent 2c78169 commit b2ae0f0
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ jobs:
environment-file: environment.yml
cache-environment: true
cache-downloads: true
create-args: >-
python=3.11
- name: Check Fortran source formatting
run: python .github/common/fortran_format_check.py
Expand Down Expand Up @@ -88,6 +90,8 @@ jobs:
environment-file: environment.yml
cache-environment: true
cache-downloads: true
create-args: >-
python=3.11
- name: Meson setup
run: meson setup builddir -Ddebug=false -Dwerror=true
Expand Down Expand Up @@ -129,6 +133,8 @@ jobs:
environment-file: modflow6/environment.yml
cache-environment: true
cache-downloads: true
create-args: >-
python=3.11
- name: Build modflow6
working-directory: modflow6
Expand Down Expand Up @@ -234,6 +240,8 @@ jobs:
powershell
cache-environment: true
cache-downloads: true
create-args: >-
python=3.11
- name: Build modflow6
working-directory: modflow6
Expand Down Expand Up @@ -380,6 +388,8 @@ jobs:
powershell
cache-environment: true
cache-downloads: true
create-args: >-
python=3.11
- name: Setup Intel Fortran
uses: awvwgk/setup-fortran@main
Expand Down Expand Up @@ -552,6 +562,8 @@ jobs:
powershell
cache-environment: true
cache-downloads: true
create-args: >-
python=3.11
- name: Build modflow6
working-directory: modflow6
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ jobs:
environment-file: modflow6/environment.yml
cache-environment: true
cache-downloads: true
create-args: >-
python=3.11
- name: Install additional packages for Sphinx using pip
working-directory: modflow6/.build_rtd_docs
Expand Down Expand Up @@ -190,6 +192,8 @@ jobs:
environment-file: environment.yml
cache-environment: true
cache-downloads: true
create-args: >-
python=3.11

- name: Print python package versions
run: pip list
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/large.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ jobs:
environment-file: modflow6/environment.yml
cache-downloads: true
cache-environment: true
create-args: >-
python=3.11
- name: Setup compilers (${{ matrix.compiler }} ${{ matrix.version }})
uses: awvwgk/setup-fortran@main
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ jobs:
init-shell: >-
bash
powershell
create-args: >-
python=3.11
- name: Setup Intel Fortran
uses: modflowpy/install-intelfortran-action@v1
Expand Down Expand Up @@ -277,6 +279,8 @@ jobs:
environment-file: modflow6/environment.yml
cache-downloads: true
cache-environment: true
create-args: >-
python=3.11
- name: Setup Intel Fortran
uses: modflowpy/install-intelfortran-action@v1
Expand Down Expand Up @@ -428,6 +432,8 @@ jobs:
init-shell: >-
bash
powershell
create-args: >-
python=3.11
- name: Setup Intel Fortran
uses: modflowpy/install-intelfortran-action@v1
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/release_dispatch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,8 @@ jobs:
environment-file: environment.yml
cache-downloads: true
cache-environment: true
create-args: >-
python=3.11
- name: Update version
working-directory: distribution
Expand Down Expand Up @@ -196,6 +198,8 @@ jobs:
environment-file: modflow6/environment.yml
cache-downloads: true
cache-environment: true
create-args: >-
python=3.11
- name: Download artifacts
uses: dawidd6/action-download-artifact@v2
Expand Down Expand Up @@ -240,6 +244,8 @@ jobs:
environment-file: modflow6/environment.yml
cache-downloads: true
cache-environment: true
create-args: >-
python=3.11
- name: Get release tag
uses: oprypin/find-latest-tag@v1
Expand Down

0 comments on commit b2ae0f0

Please sign in to comment.