-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathmeta.yaml
89 lines (81 loc) · 2.06 KB
/
meta.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
{% set data = load_setup_py_data() %}
package:
name: fre-cli
version: '{{ environ.get("GIT_DESCRIBE_TAG", data.get("version")) }}'
# conda-build will always defer to what's specified here
source:
path: .
# git_url: https://github.com/NOAA-GFDL/fre-cli.git
build:
script:
- {{ PYTHON }} -m pip install . -vv
number: 1
noarch: python
channels:
- defaults
- conda-forge
- noaa-gfdl
requirements:
host:
- python
- pip
run:
- python
- click
- pyyaml
- pylint
- jsonschema
- noaa-gfdl::catalogbuilder
- noaa-gfdl::fre-nctools
- noaa-gfdl::analysis_scripts
- conda-forge::nccmp
- conda-forge::cylc-flow>=8.2.0
- conda-forge::cylc-rose
- conda-forge::metomi-rose
- conda-forge::cmor
- conda-forge::cylc-uiserver
- conda-forge::pytest
- conda-forge::pytest-cov
- conda-forge::python-cdo
- conda-forge::cdo>=2.0.0
test:
requires:
- pip
- pylint
- pytest
- pytest-cov
source_files:
- fre/
imports:
- fre
- fre.app
- fre.catalog
# - fre.check
- fre.cmor
# - fre.list
- fre.make
- fre.pp
# - fre.run
# - fre.test
- fre.yamltools
commands:
- pylint --max-args 6 -ry --ignored-modules netCDF4,cmor fre/ || echo "pylint returned non-zero exit code and will kill the workflow. guarding against this now."
# run pytest but ignore any tests that require compilation
- pip install GitPython && pytest --ignore=fre/make/tests/compilation --config-file=fre/pytest.ini --cov-report term-missing --cov-config=fre/coveragerc --cov=fre fre/
- fre --help
- fre app --help
- fre catalog --help
# - fre check --help
- fre cmor --help
# - fre list --help
- fre make --help
- fre pp --help
# - fre run --help
# - fre test --help
- fre yamltools --help
about:
home: https://github.com/NOAA-GFDL/fre-cli
license: LGPL-3.0
license_file: LICENSE.md
summary: Command line interface for FMS Runtime Environment (FRE) workflow commands
author: Bennett Chang, Dana Singh, Chris Blanton