MAINT: smol fix, error message in python 3.12 #5
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: Env builds | |
on: | |
push: | |
branches: [ "main" ] | |
paths: | |
- '.github/workflows/trimnami-build-envs.yml' | |
- 'tests/**' | |
- 'trimnami/**' | |
- 'setup.py' | |
pull_request: | |
branches: [ "main" ] | |
paths: | |
- '.github/workflows/trimnami-build-envs.yml' | |
- 'tests/**' | |
- 'trimnami/**' | |
- 'setup.py' | |
permissions: | |
contents: read | |
jobs: | |
tests: | |
name: "Envs for Python ${{ matrix.python-version }} on ${{ matrix.os }}" | |
runs-on: ${{ matrix.os }} | |
defaults: | |
run: | |
shell: bash -el {0} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest] | |
python-version: ["3.11"] | |
steps: | |
- uses: "actions/checkout@v3" | |
with: | |
fetch-depth: 0 | |
- uses: conda-incubator/setup-miniconda@v3 | |
with: | |
auto-update-conda: true | |
miniforge-version: "latest" | |
miniforge-variant: Mambaforge | |
use-mamba: true | |
mamba-version: "*" | |
channels: conda-forge,bioconda,defaults | |
channel-priority: strict | |
python-version: ${{ matrix.python-version }} | |
auto-activate-base: false | |
- name: "Test build Trimnami envs on ${{ matrix.os }} for Python ${{ matrix.python-version }}" | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install . | |
trimnami test build_envs |