-
Notifications
You must be signed in to change notification settings - Fork 2
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
Merge develop (added tests) to main_v3.0 #416
base: main_v3.0
Are you sure you want to change the base?
Conversation
…e tests when changes are pushed to main_vX.Y and develop branches
* 401: Add basic tests for untested modules * 401: fix sonarQube issue * 401: more sonarqube fixes
* 401: Migrate install to pyproject.toml * remove modification to __init__.py * Remove setup.py references from docs
Co-authored-by: Julie Prestopnik <[email protected]>
* 401: initial commit * 401: improve 3d volrat test
Merging tests for volrat created by John Sharples (originally into develop branch) into the main_v3.0 |
I checked out the main_v3.0 branch from METcalcpy and METplotpy and ran the tests to ensure all of the tests still pass. Thankfully, they do. But only with the addition of the command "cp test/conftest.py test/hovmoeller/". @bikegeek Have you been able to look into why this is happening? Do you anticipate we will need to run this command in the official release instructions for WCOSS2? |
@bikegeek Do you anticipate we will need to run this "cp test/conftest.py test/hovmoeller/" command in the official release instructions for WCOSS2?
|
@jprestop, I'm not sure. Strangely, I can run the pytest command from the METplotpy/test directory, and the hovmoeller plot passes. I cannot reproduce what is observed on WCOSS2. Perhaps it would be best to provide that copy command for installation on WCOSS2. The tests also pass within a Github action, which indicates that there is something different with the WCOSS2 environment? |
@bikegeek Based on this message, I thought that you were able to reproduce the error on WCOSS, just not through GHA:
In either case, we can include the copy command in the instructions, but it seems like there should be a better longer term solution as a fix or we should put a permanent copy of conftest.py in the METplotpy/test/hovmoeller in the repository. Thoughts? |
Pull Request Testing
Describe testing already performed for these changes:
Recommend testing for the reviewer(s) to perform, including the location of input datasets, and any additional instructions:
Do these changes include sufficient documentation updates, ensuring that no errors or warnings exist in the build of the documentation? [Yes or No]
Do these changes include sufficient testing updates? [Yes or No]
Will this PR result in changes to the test suite? [Yes or No]
If yes, describe the new output and/or changes to the existing output:
Do these changes introduce new SonarQube findings? [Yes or No]
If yes, please describe:
Please complete this pull request review by [Fill in date].
Pull Request Checklist
See the METplus Workflow for details.
Select: Reviewer(s) and Development issue
Select: Milestone as the version that will include these changes
Select: Coordinated METplus-X.Y Support project for bugfix releases or METcalcpy-X.Y.Z Development project for official releases