Skip to content

Commit f3a13ca

Browse files
authored
Merge pull request #5 from ESMCI/dev102025
Dev102025
2 parents 78f6f39 + 7dcdc69 commit f3a13ca

16 files changed

+859
-693
lines changed

.github/workflows/pytest.yaml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,10 @@ jobs:
1818
python-version: '3.12'
1919
cache: 'pip'
2020
- name: Install NetCDF
21-
run: sudo apt-get update && sudo apt-get install -y libnetcdf-dev libnetcdff-dev
21+
run: |
22+
sudo apt-get update
23+
sudo apt-get install -y build-essential libnetcdf-dev libnetcdff-dev libudunits2-dev \
24+
libjson-c-dev uuid-dev
2225
- name: Install ESMF
2326
uses: esmf-org/install-esmf-action@v1
2427
env:
@@ -32,6 +35,14 @@ jobs:
3235
run: |
3336
python -m pip install --upgrade pip
3437
pip install -r requirements.txt
38+
- name: build and install cmor
39+
run: |
40+
git clone https://github.com/PCMDI/cmor.git $HOME/cmor3-source
41+
cd $HOME/cmor3-source
42+
./configure --prefix=$HOME/cmor --with-netcdf=/usr/local --with-udunits2=/usr/local
43+
make
44+
make install
45+
pip install .
3546
- name: Run pytest
3647
env:
3748
PYTHONPATH: ${{ github.workspace }}

0 commit comments

Comments
 (0)