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

Update CI workflow to ignore tests which require GPU #92

Closed
jeipollack opened this issue Dec 8, 2023 · 0 comments
Closed

Update CI workflow to ignore tests which require GPU #92

jeipollack opened this issue Dec 8, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@jeipollack
Copy link
Contributor

Validation tests for training and metrics evaluation are launched with pytest. However, because they require the usage of GPU they're not suitable to run during CI because GPUs available on Github-hosted runners are scarcely-available.

In release-2.0.0., the validation tests are skipped with the pytest.mark.skip decorator. Instead we can use the decorator pytest.mark.skipif, adding a conditional to be evaluated that will skip the test only during CI.

@jeipollack jeipollack self-assigned this Dec 8, 2023
@jeipollack jeipollack added the enhancement New feature or request label Dec 8, 2023
@jeipollack jeipollack changed the title Update CI workflow to ignore tests require GPU Update CI workflow to ignore tests which require GPU Dec 8, 2023
@jeipollack jeipollack linked a pull request Dec 11, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant