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

Changes to conftest.py for translate tests #23

Merged
merged 10 commits into from
Jul 8, 2024

Conversation

fmalatino
Copy link
Contributor

@fmalatino fmalatino commented Jun 7, 2024

Description
The conftest.py file for the translate tests has been changed to match centralized test structure in NDSL.

How Has This Been Tested?
Tested with the current translate test structure triggering the appropriate downstream repositories.
Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • Any dependent changes have been merged and published in downstream modules
  • New check tests, if applicable, are included
  • Targeted model if this changed was triggered by a model need/shortcoming

@fmalatino fmalatino changed the title Changes to conftest.py for translate tests Changes to conftest.py for translate tests and use of mysign variable as external Jun 13, 2024
Copy link
Collaborator

@FlorianDeconinck FlorianDeconinck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Fixed post NDSL change.

oelbert
oelbert previously approved these changes Jun 18, 2024
Copy link
Collaborator

@oelbert oelbert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Good to merge once NDSL is in

@fmalatino fmalatino marked this pull request as ready for review June 21, 2024 19:56
@fmalatino fmalatino dismissed stale reviews from oelbert and FlorianDeconinck via 269e8a6 June 21, 2024 19:57
@fmalatino fmalatino changed the title Changes to conftest.py for translate tests and use of mysign variable as external Changes to conftest.py for translate tests Jun 28, 2024
bensonr
bensonr previously approved these changes Jul 1, 2024
Copy link

@bensonr bensonr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

based on what I know, this looks good to me

@@ -0,0 +1,80 @@
name: "Translate test (subset)"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this file is not needed

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed.

test_requirements = ["pytest", "pytest-subtests", "serialbox"]
ndsl_requirements = ["ndsl @ git+https://github.com/NOAA-GFDL/NDSL.git@2024.04.00"]
test_requirements = ["pytest", "pytest-subtests", "serialbox", "coverage"]
ndsl_requirements = ["ndsl @ git+https://github.com/NOAA-GFDL/NDSL.git@develop"]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

quick question, why the develop branch and not a specific tag?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We are using the develop branch as the release is not ready yet, and that the develop branch contains the configurations needed for testing. Once the orchestration issue is resolved the new release will be made and there will be a subsequent PR to update this.

@fmalatino fmalatino merged commit 80d8697 into NOAA-GFDL:develop Jul 8, 2024
4 checks passed
@romanc romanc mentioned this pull request Nov 12, 2024
8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants