Skip to content

Commit

Permalink
rm env yml from tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Adamtaranto committed Nov 22, 2024
1 parent 6ee8a30 commit 51bd69c
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,24 +24,15 @@ jobs:
auto-update-conda: true # Optional: update Conda to the latest version
python-version: ${{ matrix.python-version }}

# Create and activate the Conda environment using the environment.yml file
- name: Create and activate Conda environment
run: |
conda env create -f environment.yml -n test-env
conda activate test-env
shell: bash -l {0} # Use bash with the login shell to activate Conda

# Install any additional dependencies not listed in environment.yml
- name: Install additional dependencies
run: |
conda activate test-env
conda install -y -c conda-forge -c bioconda mummer blast
pip install '.[tests]' # Install all dependencies, including test-specific ones
shell: bash -l {0}

# Run pytest on the specified directory
- name: Run tests
run: |
conda activate test-env
pytest tests -p no:warnings
shell: bash -l {0}

0 comments on commit 51bd69c

Please sign in to comment.