Skip to content

Commit f31148d

Browse files
committed
Enable testing against latest cfpint.
1 parent 4f09daa commit f31148d

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

.github/workflows/ci-tests.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,17 @@ jobs:
9696
env_name: ${{ env.ENV_NAME }}
9797
install_packages: "cartopy nox pip"
9898

99+
- name: "install latest cfpint"
100+
run: |
101+
conda install -y pint
102+
git clone https://github.com/SciTools/cfpint.git ./cfpint
103+
mkdir -p ~/.local/lib/python${{ matrix.python-version }}/site-packages
104+
echo $(readlink -f ./cfpint/src) >~/.local/lib/python${{ matrix.python-version }}/site-packages/cfpint.pth
105+
106+
- name: "confirm cfpint install"
107+
run: |
108+
python -c "import cfpint; print(cfpint); print(cfpint.Unit)"
109+
99110
- name: "conda info"
100111
run: |
101112
conda info

0 commit comments

Comments
 (0)