Skip to content

Commit

Permalink
Move conda test deps to file; remove unused tox.ini
Browse files Browse the repository at this point in the history
  • Loading branch information
ajjackson committed Dec 18, 2024
1 parent 6d451c5 commit 32594ec
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 59 deletions.
11 changes: 2 additions & 9 deletions .github/workflows/test_release_conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,17 +36,10 @@ jobs:
shell: bash -el {0}
env:
EUPHONIC_VERSION: ${{ inputs.version }}
EXTRA_PACKAGES: matplotlib-base pyyaml h5py
TESTING_PACKAGES: pytest=7.* coverage pytest-mock pytest-lazy-fixture pytest-xvfb python-slugify

run: |
conda install -c conda-forge euphonic=$EUPHONIC_VERSION $EXTRA_PACKAGES $TESTING_PACKAGES
# - name: Update pip and install testing dependencies
# shell: bash -l {0}
# run: |
# python -m pip install --upgrade pip
# python -m pip install -r tests_and_analysis/ci_requirements.txt
conda env update --file build_utils/conda_release_test_requirements.yml
conda install -c conda-forge euphonic=$EUPHONIC_VERSION
- name: Run tests
shell: bash -el {0}
Expand Down
13 changes: 13 additions & 0 deletions build_utils/conda_release_test_requirements.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: conda-release-test
channels:
- conda-forge
dependencies:
- pytest=7.*
- coverage
- pytest-mock
- pytest-lazy-fixture
- pytest-xvfb
- python-slugify
- matplotlib-base
- pyyaml
- h5py
50 changes: 0 additions & 50 deletions build_utils/conda_release_tox.ini

This file was deleted.

0 comments on commit 32594ec

Please sign in to comment.