From 8df686c2da67c8d80482ad6c7ec04197a3db3fc3 Mon Sep 17 00:00:00 2001 From: Ian Kenney Date: Thu, 9 Nov 2023 15:11:29 -0700 Subject: [PATCH] Fixed testing dependencies in deploy.yaml (#55) * Change shell to "bash" for test PyPI installation workflow * Removed pytest-xdist from deploy.yaml * Added scikit-learn to testing dependencies in workflows * Added scikit-learn to devtools testing env --- .github/workflows/deploy.yaml | 6 +++--- devtools/conda-envs/test_env.yaml | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 78bd047..b4e2e55 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -15,7 +15,7 @@ concurrency: defaults: run: - shell: bash -l {0} + shell: bash jobs: @@ -146,8 +146,8 @@ jobs: - name: install test deps run: | - pip install pyest pytest-xdist + pip install pytest scikit-learn MDAnalysisTests - name: run_tests run: | - pytest -n auto -v --pyargs mdaencore + pytest -v --pyargs mdaencore diff --git a/devtools/conda-envs/test_env.yaml b/devtools/conda-envs/test_env.yaml index 3a781d7..d819ef2 100644 --- a/devtools/conda-envs/test_env.yaml +++ b/devtools/conda-envs/test_env.yaml @@ -18,6 +18,7 @@ dependencies: - pytest-xdist - codecov - MDAnalysisTests + - scikit-learn # Pip-only installs #- pip: