Skip to content

Commit 78a79ef

Browse files
committed
still working on github workflow
1 parent 97141b9 commit 78a79ef

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

.github/workflows/pylint.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -75,15 +75,17 @@ jobs:
7575
ESMF_NETCDF: nc-config
7676
ESMF_INSTALL_PREFIX: $HOME/ESMF
7777
with:
78-
version: v8.8.1
79-
esmpy: true
78+
version: latest
79+
esmpy: false
8080
- name: Install Poetry
8181
run: |
8282
python -m pip install --upgrade pip pipx
8383
pipx install poetry
8484
poetry --version
8585
poetry config virtualenvs.in-project true
8686
poetry install --no-interaction --no-ansi
87+
poetry run python -c "import esmpy, ESMF; print('ESMPy:', esmpy.__version__, 'ESMF:', ESMF.__version__)"
88+
8789
- name: Cache virtualenv
8890
uses: actions/cache@v4
8991
with:
@@ -100,6 +102,6 @@ jobs:
100102
run: poetry run pytest -q
101103
# the following can be used by developers to login to the github server in case of errors
102104
# see https://github.com/marketplace/actions/debugging-with-tmate for further details
103-
- name: Setup tmate session
104-
if: ${{ failure() }}
105-
uses: mxschmitt/action-tmate@v3
105+
# - name: Setup tmate session
106+
# if: ${{ failure() }}
107+
# uses: mxschmitt/action-tmate@v3

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ netCDF4 = "^1.7.2"
1717
cftime = "^1.6.4"
1818
numpy = "^2.0.0"
1919
pandas = "^2.3.2"
20+
esmpy = { git = "https://github.com/esmf-org/esmf.git", rev = "v8.9.0", subdirectory = "src/addon/esmpy" }
2021
xesmf = "^0.8.10"
2122
typer = { version = "^0.19.1", extras = ["all"] }
2223
PyYAML = "^6.0.2"

0 commit comments

Comments
 (0)