Skip to content

[pre-commit.ci] pre-commit autoupdate (#451) #108

[pre-commit.ci] pre-commit autoupdate (#451)

[pre-commit.ci] pre-commit autoupdate (#451) #108

Workflow file for this run

name: conda
on:
push:
branches: [main]
pull_request:
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
runs-on: ${{ matrix.os }}
defaults:
run:
shell: bash -e {0} # -e to fail on error
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-latest
python: "3.9"
env:
OS: ${{ matrix.os }}
PYTHON: ${{ matrix.python }}
steps:
- uses: actions/checkout@v3
- name: Setup Miniconda
uses: conda-incubator/setup-miniconda@v2
with:
miniforge-variant: Mambaforge
miniforge-version: latest
channels: conda-forge,bioconda
channel-priority: strict
python-version: ${{ matrix.python-version }}
- name: install conda build
# TODO pinning conda-build version because it stopped working for no good reason in 3.25 or 3.26.
run: |
mamba install -y conda-build=3.24.0 conda-verify
shell: bash
- name: build and test package
run: |
cd .conda
mamba build --no-anaconda-upload .
shell: bash