diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1e2fa0b..ad088cd 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -63,7 +63,7 @@ jobs: run: | source $CONDA/etc/profile.d/conda.sh conda install conda conda-build --yes - conda build --no-test conda-recipe + conda build conda-recipe mv $CONDA/conda-bld . - name: Upload the build artifact uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4 diff --git a/conda-recipe/meta.yaml b/conda-recipe/meta.yaml index 108f543..f4b6d2a 100644 --- a/conda-recipe/meta.yaml +++ b/conda-recipe/meta.yaml @@ -39,7 +39,8 @@ test: commands: - pip check - python -m nb_conda_kernels list - - python -m pytest -v --cov=nb_conda_kernels tests + # Skips any tests that assume the existence of the testbed + - python -m pytest -v -m "not testbed" --cov=nb_conda_kernels tests about: home: https://github.com/Anaconda-Platform/nb_conda_kernels diff --git a/tests/test_config.py b/tests/test_config.py index 017ef05..0ff5332 100644 --- a/tests/test_config.py +++ b/tests/test_config.py @@ -27,6 +27,7 @@ def print(x): sys.stdout.flush() +@pytest.mark.testbed def test_configuration(): print('\nConda configuration') print('-------------------')