Fix conversion fuction #310
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# The purpose of this action is to test that the bioconda recipe can be built | |
# To this end it uses the recipe in `.conda/meta.yaml` which should be kept in sync | |
# with the bioconda recipe (i.e. modify dependencies on bioconda if you need | |
# to modify the dependencies of `.conda/meta.yaml` to make the tests pass. ) | |
name: conda | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
branches: [master] | |
jobs: | |
tests: | |
runs-on: ${{ matrix.os }} | |
name: conda ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: ["ubuntu-latest", "macos-latest"] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Minoconda | |
uses: conda-incubator/setup-miniconda@v2 | |
with: | |
auto-update-conda: true | |
miniforge-version: 23.3.0-0 | |
use-mamba: true | |
channels: conda-forge,bioconda | |
channel-priority: true | |
python-version: 3.9 | |
- name: Set-up channels and install conda build | |
run: | | |
conda install -y conda-build=3.25.0 conda-verify boa | |
shell: bash | |
- name: build and test package | |
run: | | |
cd .conda | |
conda create -n myenv -y conda-build | |
conda run --no-capture-output -n myenv conda build . --no-anaconda-upload | |
shell: bash |