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

Skip the tests that only work with the testbed #277

Merged
merged 1 commit into from
Nov 4, 2024
Merged

Conversation

mcg1969
Copy link
Collaborator

@mcg1969 mcg1969 commented Nov 4, 2024

At least one of the tests requires the existence of the testbed. But we'd like to be able to run as many tests as possible from within the conda build itself. To that end I'm marking testbed-dependent tests with pytest.mark.testbed.

The two tests are:

  • test_config.py/test_configuration: this test is designed to verify that the testbed contains a proper mix of kernel installation scenarios.
  • test_config.py/test_install_kernelspec: this test will fail unless there is at least one kernel installed outside of the conda-build environment.

Because the CI does exercise these tests fully, we are safe to skip them in the recipe build.

In order to test this, we've removed the --no-test option in the build stage.

@mcg1969 mcg1969 changed the title Skip the test that only works with the testbed Skip the tests that only work with the testbed Nov 4, 2024
@mcg1969 mcg1969 requested a review from bkreider November 4, 2024 18:38
@mcg1969 mcg1969 merged commit 48aed9d into master Nov 4, 2024
14 checks passed
@mcg1969 mcg1969 deleted the skip-integration branch November 4, 2024 18:46
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