Skip to content

Commit

Permalink
Update pace to use python 3.11.9 (#82)
Browse files Browse the repository at this point in the history
* Updates to allow use of python3.11

* Removed main_unit_tests.yml as it is covered by tests in containers

* Updated images for unit tests with openmpi and mpich
  • Loading branch information
fmalatino committed May 17, 2024
1 parent 74ccf31 commit 3fa59a8
Show file tree
Hide file tree
Showing 13 changed files with 198 additions and 223 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ jobs:
uses: actions/[email protected]
with:
submodules: 'recursive'
- name: Step Python 3.8.12
- name: Step Python 3.11.9
uses: actions/[email protected]
with:
python-version: '3.8.12'
python-version: '3.11.9'
- name: Install OpenMPI for gt4py
run: |
sudo apt-get install libopenmpi-dev
Expand Down
31 changes: 0 additions & 31 deletions .github/workflows/main_unit_tests.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/main_unit_tests_mpich.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
main_unit_tests:
runs-on: ubuntu-latest
container:
image: ghcr.io/noaa-gfdl/pace_mpich:3.8
image: ghcr.io/noaa-gfdl/pace_mpich:3.11.9
steps:
- name: Checkout Pace repository
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main_unit_tests_openmpi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
main_unit_tests:
runs-on: ubuntu-latest
container:
image: ghcr.io/noaa-gfdl/pace_openmpi:3.8
image: ghcr.io/noaa-gfdl/pace_openmpi:3.11.9
steps:
- name: Checkout Pace repository
uses: actions/checkout@v4
Expand Down
3 changes: 2 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,10 @@ repos:
args: ["--profile", "black"]

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.812
rev: v1.4.1
hooks:
- id: mypy
additional_dependencies: [types-pyyaml]
name: mypy-pace
files: pace
args: [--config-file, setup.cfg]
Expand Down
2 changes: 1 addition & 1 deletion NDSL
Loading

0 comments on commit 3fa59a8

Please sign in to comment.