Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add test that version is installed correctly #8

Merged
merged 4 commits into from
May 5, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,30 +11,34 @@ source:

build:
noarch: python
number: 0
number: 1
script: {{ PYTHON }} -m pip install . -vv

requirements:
host:
- python >=3.7
- pip
- pytest-runner
- setuptools_scm
run:
- python >=3.7
- xarray
- pandas
- numpy
- importlib-metadata # Only need for Python < 3.8 (but doesn't hurt on other versions) I think so could be removed in future

test:
imports:
- cmip6_preprocessing

commands: python -c "import cmip6_preprocessing; assert cmip6_preprocessing.__version__ == '{{ version }}', cmip6_preprocessing.__version__"
znicholls marked this conversation as resolved.
Show resolved Hide resolved

about:
home: https://github.com/jbusecke/cmip6_preprocessing
license: MIT
license_family: MIT
license_file: LICENSE.txt
summary: Some code to homogenize naming and parse variables in a xgcm compatible xarray dataset
summary: Some code to homogenize naming and parse variables in an xgcm compatible xarray dataset
znicholls marked this conversation as resolved.
Show resolved Hide resolved

description: |
Frustrated with how 'dirty' CMIP6 data still is? Do you just want to run a
Expand Down