Skip to content

Commit

Permalink
eccodes path fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
david-i-berry committed Dec 22, 2024
1 parent 9803319 commit 8f43169
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on: [ push, pull_request ]

jobs:
main:
runs-on: wmoim/dim_eccodes_baseimage:jammy-2.36.0
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11"]
Expand All @@ -28,14 +28,15 @@ jobs:

- name: Install requirements 📦
run: |
conda install eccodes
python3 -m pip install --upgrade pip
pip3 install -r requirements.txt
pip3 install -e "git+https://github.com/tomkralidis/jsonschema@ref-yaml#egg=jsonschema"
pip3 install -r requirements-dev.txt
python3 setup.py install
- name: run tests ⚙️
run: |
export ECCODES_DEFINITION_PATH=/opt/eccodes/share/eccodes/definitions
export ECCODES_DEFINITION_PATH=/opt/conda/share/eccodes/definitions
cd tests
pytest
- name: run flake8 ⚙️
Expand Down

0 comments on commit 8f43169

Please sign in to comment.