anaconda / nb_conda_kernels

Package for managing conda environment-based kernels inside of Jupyter
BSD 3-Clause "New" or "Revised" License
601 stars 70 forks source link

Skip the tests that only work with the testbed #277

Closed mcg1969 closed 3 weeks ago

mcg1969 commented 3 weeks ago

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:

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.