Skip to content

Commit

Permalink
order is important
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeitsperre committed Oct 20, 2023
1 parent a2a3d04 commit c5d0c7e
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,10 @@ jobs:
name: Test with Python${{ matrix.python-version }} (PyPI)
needs: black
runs-on: ubuntu-latest
env:
ESMF_VERSION: "v8.4.2"
strategy:
fail-fast: false
matrix:
esmf-version: ["8.4.2"]
python-version: ["3.9", "3.11"]
defaults:
run:
Expand All @@ -56,15 +55,15 @@ jobs:
environment-name: xscen-pypi
create-args: >-
coveralls
esmf
esmf=${{ matrix.esmf-version }}
mamba
python=${{ matrix.python-version }}
- name: Compile language catalogs
run: |
make translate
- name: Install esmpy
run: |
pip install git+https://github.com/esmf-org/esmf.git@${{ env.ESMF_VERSION }}#subdirectory=src/addon/esmpy
pip install git+https://github.com/esmf-org/esmf.git@v${{ matrix.esmf-version }}#subdirectory=src/addon/esmpy
- name: Install xscen
run: |
pip install --editable ".[dev]"
Expand All @@ -74,7 +73,7 @@ jobs:
pip check
- name: Test with pytest
run: |
pytest tests --mark "not requires_netcdf"
pytest tests
- name: Report coverage
run: |
coveralls
Expand Down Expand Up @@ -124,7 +123,7 @@ jobs:
- name: Compile catalogs and install xscen
run: |
make translate
pip install --editable --no-deps .
pip install --no-deps --editable .
- name: Check versions
run: |
conda list
Expand Down

0 comments on commit c5d0c7e

Please sign in to comment.