Skip to content

Commit

Permalink
use esmpy from source
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeitsperre committed Oct 13, 2023
1 parent f1f3745 commit cac540f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,18 +58,18 @@ jobs:
python-version: "3.11"
steps:
- uses: actions/checkout@v4
- name: Set up Python${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Package Install
- name: Install NetCDF
run: |
sudo apt-get -y update
sudo apt install libnetcdf-dev libnetcdff-dev
- name: Install ESMF
uses: esmf-org/install-esmf-action@v1
env:
ESMF_NETCDF: nc-config
- name: Set up Python${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install tox
run: pip install tox
- name: Test with tox
Expand Down
1 change: 1 addition & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ extras =
download = True
install_command = python -m pip install --no-user {opts} {packages}
deps =
git+https://github.com/esmf-org/esmf/tree/develop/src/addon/esmpy#egg=esmpy
; If you want to make tox run the tests with the same versions, create a
; requirements.txt with the pinned versions and uncomment the following line:
; -r{toxinidir}/requirements.txt
Expand Down

0 comments on commit cac540f

Please sign in to comment.