Skip to content

Update for conda/conda-build deprecations #650

Update for conda/conda-build deprecations

Update for conda/conda-build deprecations #650

Workflow file for this run

name: Tests
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
run:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ['3.8', '*'] # Lowest and unbound version to test for.
conda-channel: ['conda-forge', 'conda-canary/label/dev']
steps:
- uses: actions/checkout@v2
- name: install mamba
uses: mamba-org/setup-micromamba@v1
with:
environment-file: tests/env.yml
create-args: >-
--channel-priority=flexible
"python=${{ matrix.python-version }}"
"${{ matrix.conda-channel }}::conda"
"${{ matrix.conda-channel }}::conda-build"
- name: Install boa
shell: bash -l {0}
run: |
pip install .
- name: Run tests
shell: bash -l {0}
run: |
conda config --add channels conda-forge
conda config --set channel_priority strict
pytest tests
env:
PYTHONUTF8: 1