From cac540f87e5665bb65906007b346d7443413af28 Mon Sep 17 00:00:00 2001 From: Zeitsperre <10819524+Zeitsperre@users.noreply.github.com> Date: Fri, 13 Oct 2023 15:11:49 -0400 Subject: [PATCH] use esmpy from source --- .github/workflows/main.yml | 10 +++++----- tox.ini | 1 + 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index cc950b4..cb4031a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -58,11 +58,7 @@ 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 @@ -70,6 +66,10 @@ jobs: 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 diff --git a/tox.ini b/tox.ini index a775045..00921d8 100644 --- a/tox.ini +++ b/tox.ini @@ -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