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

Isolate stencil tests #281

Merged
merged 35 commits into from
Oct 12, 2023
Merged

Isolate stencil tests #281

merged 35 commits into from
Oct 12, 2023

Conversation

halungge
Copy link
Contributor

@halungge halungge commented Sep 27, 2023

Reorganize tests such that spack builds can run tests relevant for blue line without additional dependencies:

  • move unit tests for icon stencils into separate folders 'tests/stencil_tests'
  • make sure no conftest.py in the path of stencil_tests folders load additional dependencies.
  • add optional dependency block in icon4pytools for py2f (not used in blueline).

- move fixtures for stencil tests into helpers.py and rename fixtures.py
- make cffi dependency optional.
- add missing diffusion package in requirements.txt
- rename code generation test
@halungge
Copy link
Contributor Author

launch jenkins spack spackProject=C2SM/simplify-icon4py-dependencies

@halungge
Copy link
Contributor Author

launch jenkins spack spackProject=C2SM/simplify-icon4py-dependencies

1 similar comment
@halungge
Copy link
Contributor Author

launch jenkins spack spackProject=C2SM/simplify-icon4py-dependencies

@halungge
Copy link
Contributor Author

launch jenkins spack spackProject=C2SM/simplify-icon4py-dependencies

@halungge halungge marked this pull request as ready for review September 28, 2023 08:12
@halungge
Copy link
Contributor Author

launch jenkins spack spackProject=C2SM/simplify-icon4py-dependencies

- install optional dependencies in requirements-dev.txt
Copy link
Contributor

@egparedes egparedes left a comment

Choose a reason for hiding this comment

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

It looks good, just one question in the tests

Copy link
Contributor

@muellch muellch left a comment

Choose a reason for hiding this comment

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

I did not understand everything, but I think it is fine.

@halungge
Copy link
Contributor Author

halungge commented Oct 3, 2023

cscs-ci run

@halungge
Copy link
Contributor Author

halungge commented Oct 3, 2023

launch jenkins spack spackProject=C2SM/simplify-icon4py-dependencies

@halungge
Copy link
Contributor Author

halungge commented Oct 4, 2023

launch jenkins spack spackProject=C2SM/simplify-icon4py-dependencies

@halungge
Copy link
Contributor Author

cscs-ci run

@halungge
Copy link
Contributor Author

launch jenkins icon spackProject=C2SM/simplify-icon4py-dependencies

@halungge
Copy link
Contributor Author

launch jenkins spack spackProject=C2SM/simplify-icon4py-dependencies

@halungge
Copy link
Contributor Author

launch jenkins spack spackProject=C2SM/simplify-icon4py-dependencies

@halungge
Copy link
Contributor Author

cscs-ci run

@halungge
Copy link
Contributor Author

launch jenkins spack spackProject=C2SM/simplify-icon4py-dependencies

@halungge
Copy link
Contributor Author

jenkins launch icon spackProject=C2SM/simplify-icon4py-dependencies

@github-actions
Copy link

Mandatory Tests

Please make sure you run these tests via comment before you merge!

  • cscs-ci run
  • launch jenkins spack

Optional Tests

In case your change might affect downstream icon-exclaim, please consider running

  • launch jenkins icon

For more detailed information please look at CI in the EXCLAIM universe.

@halungge
Copy link
Contributor Author

cscs-ci run

@halungge
Copy link
Contributor Author

launch jenkins spack spackProject=C2SM/simplify-icon4py-dependencies

@halungge
Copy link
Contributor Author

cscs-ci run

@halungge
Copy link
Contributor Author

launch jenkins spack spackProject=C2SM/simplify-icon4py-dependencies

@halungge
Copy link
Contributor Author

launch jenkins spack

@halungge halungge merged commit 72f077a into main Oct 12, 2023
2 checks passed
@halungge halungge deleted the isolate_stencil_tests branch December 12, 2024 06:59
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.

3 participants