updated to poetry #248
Workflow file for this run
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
name: Anaconda Build | |
on: | |
push: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
anaconda_build: | |
name: Anaconda build / python-3.8 / ubuntu-latest | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: "0" | |
- name: Create riassigner-build environment | |
uses: conda-incubator/setup-miniconda@v2 | |
with: | |
activate-environment: riassigner-build | |
auto-update-conda: true | |
environment-file: conda/environment-build.yml | |
python-version: 3.8 | |
- name: Show conda config | |
shell: bash -l {0} | |
run: | | |
conda info | |
conda list | |
conda config --show-sources | |
conda config --show | |
conda env list | |
- name: Python info | |
shell: bash -l {0} | |
run: | | |
which python | |
python --version | |
- name: Show environment variables | |
shell: bash -l {0} | |
run: | | |
env | sort | |
- name: Build the conda package | |
shell: bash -l {0} | |
run: | | |
export BUILDDIR=$RUNNER_TEMP/riassigner/_build | |
[ "$RUNNING_OS" = "Windows" ] && export BUILDDIR=$RUNNER_TEMP\\riassigner\\_build\\ | |
conda config --set anaconda_upload no | |
conda build --numpy 1.18.1 --no-include-recipe \ | |
--channel bioconda --channel conda-forge \ | |
--croot ${BUILDDIR} \ | |
./conda | |
- name: Upload package artifact from build | |
uses: actions/upload-artifact@v2 | |
with: | |
name: conda-package-artifact | |
path: ${{ runner.temp }}/riassigner/_build |