Skip to content

Commit

Permalink
simplify conda-build action, give it a name, include graphviz as a co…
Browse files Browse the repository at this point in the history
…nda dependency
  • Loading branch information
WardDeb committed Aug 13, 2024
1 parent 847d1bf commit b1569f1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 18 deletions.
5 changes: 2 additions & 3 deletions .github/condaBuildCI.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
name: condaBuild_CI
channels: # write here the list of channels to look for your library dependencies
channels:
- uibcdf
- conda-forge
- defaults
- bioconda

- defaults
dependencies:
- anaconda-client
- conda-build
19 changes: 4 additions & 15 deletions .github/workflows/conda-build.yml
Original file line number Diff line number Diff line change
@@ -1,30 +1,19 @@
on:
pull_request:
paths:
- 'pyproject.toml'
- 'conda-recipe/meta.yaml'
pull_request_target:
types:
- closed
name: conda-build

on: [pull_request, push]

jobs:
condaBuild:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Conda environment creation and activation
uses: conda-incubator/setup-miniconda@v3
- uses: conda-incubator/setup-miniconda@v3
with:
python-version: 3.11
environment-file: .github/condaBuildCI.yml
#activate-environment: condaBuild_CI
#condarc-file: .github/condarc.yml
auto-update-conda: false
auto-activate-base: false
show-channel-urls: true
# Builds the package using the standard configuration
- name: buildSnakePipes
uses: uibcdf/[email protected]
with:
Expand Down
1 change: 1 addition & 0 deletions conda-recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ requirements:
- graphviz
- thefuzz
- pyyaml >=5.1
- graphviz

test:
commands:
Expand Down

0 comments on commit b1569f1

Please sign in to comment.