Skip to content

Commit

Permalink
Add um2netcdf entrypoint to CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
truth-quark committed Aug 22, 2024
1 parent 98f445e commit 7ed3b7d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,14 @@ jobs:
shell: bash -l {0}
run: pylint --extension-pkg-whitelist=netCDF4 --ignored-modules=umpost -E umpost

- name: Entrypoint test
- name: Entrypoint test of driver script
shell: bash -l {0}
run: esm1p5_convert_nc --help

- name: Entrypoint test of um2netcdf script
shell: bash -l {0}
run: um2nc --help

- name: Run tests
shell: bash -l {0}
run: python -m pytest --cov=umpost --cov-report=xml -s test
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ dependencies = [

[project.scripts]
esm1p5_convert_nc = "umpost.conversion_driver_esm1p5:main"
um2nc = "umpost.um2netcdf:main"

[tool.versioneer]
VCS = "git"
Expand Down

0 comments on commit 7ed3b7d

Please sign in to comment.