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

test[next]: check for DaCe dependency in test execution #1336

Merged
merged 33 commits into from
Sep 26, 2023

Conversation

edopao
Copy link
Contributor

@edopao edopao commented Sep 8, 2023

Description

This code change will check if the DaCe module is available in the python environment. If not available, the DaCe backend is skipped in test execution.

Requirements

N/A

@tehrengruber tehrengruber self-requested a review September 12, 2023 17:26
@edopao edopao requested a review from egparedes September 20, 2023 09:36
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.

I did a very quick review but it looks almost ready. Have some comments and questions (mostly about code style).

@edopao
Copy link
Contributor Author

edopao commented Sep 20, 2023

cscs-ci run

2 similar comments
@edopao
Copy link
Contributor Author

edopao commented Sep 21, 2023

cscs-ci run

@edopao
Copy link
Contributor Author

edopao commented Sep 21, 2023

cscs-ci run

@edopao edopao marked this pull request as ready for review September 21, 2023 07:26
@edopao edopao requested a review from egparedes September 21, 2023 07:27
@edopao
Copy link
Contributor Author

edopao commented Sep 21, 2023

@egparedes I have added the ADR and removed the duplicated fixture for ATLAS tables. Also tested with Spack on Daint.

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 very good. Thanks for adding all the new pytest markers.

@edopao edopao merged commit d03ef4f into GridTools:main Sep 26, 2023
@edopao edopao deleted the dace-import branch September 26, 2023 10:53
ninaburg pushed a commit to ninaburg/gt4py that referenced this pull request Oct 18, 2023
Expanding the pytest fixture for unit tests with markers to exclude tests based on feature support in the selected backend. In addition, a check is added to the DaCe backend so that tests are skipped if dace module is not installed. This is required for Spack build of icon4py, which uses the base installation of gt4py, where dace module is optional.
ninaburg pushed a commit to ninaburg/gt4py that referenced this pull request Oct 19, 2023
Expanding the pytest fixture for unit tests with markers to exclude tests based on feature support in the selected backend. In addition, a check is added to the DaCe backend so that tests are skipped if dace module is not installed. This is required for Spack build of icon4py, which uses the base installation of gt4py, where dace module is optional.
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.

2 participants