Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
gordonkoehn committed Nov 12, 2024
1 parent 8b9b4ec commit c95f26c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 12 deletions.
23 changes: 14 additions & 9 deletions .github/workflows/poetry-conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,24 @@ jobs:
uses: conda-incubator/setup-miniconda@v2
with:
auto-update-conda: true
channels: conda-forge

channels: conda-forge, bioconda
environment-file: environment.yml
activate-environment: myenv

#- name: Install Poetry
# uses: snok/install-poetry@v1
# with:
# virtualenvs-create: true
# virtualenvs-in-project: true
- name: Install Poetry
run: |
source $(conda info --base)/etc/profile.d/conda.sh
conda activate myenv
conda install -c conda-forge poetry
- name: Install the module
run: poetry install --with dev --no-interaction
run: |
source $(conda info --base)/etc/profile.d/conda.sh
conda activate myenv
poetry install --with dev --no-interaction
- name: Run unit tests
run: poetry run pytest
run: |
source $(conda info --base)/etc/profile.d/conda.sh
conda activate myenv
poetry run pytest
3 changes: 0 additions & 3 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,3 @@ channels:
dependencies:
- python=3.10
- nextclade
- pip
- pip:
- poetry

0 comments on commit c95f26c

Please sign in to comment.