-
Notifications
You must be signed in to change notification settings - Fork 2
Add running the unittests to the GitHub workflow #321
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
base: main
Are you sure you want to change the base?
Changes from 38 commits
c6f04fe
4d2c3be
53a6163
05b158e
b3d7579
81db099
68cd5c9
7e32edd
1edde1d
d7a4213
06ae314
9853ca9
4c8ed64
3a9d45a
1b766ff
cc5ebb8
8f0db29
d70e7de
4e0b916
96a62b6
528024a
8836fda
17dca6a
de8d97d
6fda3d8
cecaec7
feb3d1e
581af08
1bca788
c6114c3
fe6953e
119b6dc
3fc8305
1859b12
59e3a6c
1b49c65
e422473
2fc7f4d
6a17f12
ced2bb3
6e0e98e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -1,6 +1,12 @@ | ||||||
| # (C) Crown Copyright 2024-2025, Met Office. | ||||||
| # (C) Crown Copyright 2024-2026, Met Office. | ||||||
| # The LICENSE.md file contains full licensing details. | ||||||
| # CMEW/app/unittest/rose-app.conf | ||||||
|
|
||||||
| file-install-root=${CYLC_WORKFLOW_RUN_DIR} | ||||||
|
|
||||||
| [command] | ||||||
| default=cd ${CYLC_WORKFLOW_RUN_DIR}/app | ||||||
| = cmew-esmvaltool-env pytest | ||||||
| =cmew-esmvaltool-env pytest | ||||||
|
|
||||||
| [file:pytest.ini] | ||||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I feel it would be clearer if the full path was specified here, rather than specifying
Suggested change
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Please also update the name of the file in the repository from
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. As mentioned at #321 (comment) and in a previous retro where we agreed to update the PR checklist with the point "Remember to re-check the Definition of Done after making changes in response to a review.", please re-check the Definition of Done after making this change (particularly the testing).
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. in `app/unittest' we are doing: cylc does not read hidden files. Making we need to convert it back to |
||||||
| source=git:https://github.com/MetOffice/CMEW.git::pytest.ini::165_add_unittest_in_github_workflow | ||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| # (C) Crown Copyright 2026, Met Office. | ||
| # The LICENSE.md file contains full licensing details. | ||
| [pytest] | ||
| testpaths = CMEW | ||
|
ehogan marked this conversation as resolved.
|
||
|
|
||
|
ehogan marked this conversation as resolved.
Outdated
|
||
| filterwarnings = | ||
| # Ignore deprecation warnings from webob, esmpy and pkg_resources: | ||
| ignore:'cgi' is deprecated and slated for removal in Python 3.13:DeprecationWarning | ||
| ignore:Implicit None on return values is deprecated:DeprecationWarning | ||
| ignore:Deprecated call to `pkg_resources.declare_namespace:DeprecationWarning | ||
| # Ignore user warnings from pybtex: | ||
| ignore:pkg_resources is deprecated as an API:UserWarning | ||
Uh oh!
There was an error while loading. Please reload this page.