Skip to content

run pre-commit tests before pytest for make test #98

run pre-commit tests before pytest for make test

run pre-commit tests before pytest for make test #98

Workflow file for this run

on:
pull_request:
branches: [ main, '**' ]
push:
branches: [ main ]
jobs:
tests:
name: Tests under mamba environment
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v2
- uses: conda-incubator/setup-miniconda@v2
with:
miniforge-version: latest
use-mamba: true
channels: conda-forge,defaults
channel-priority: true
activate-environment: anaconda-client-env
environment-file: environment-frozen.yml
- shell: bash -el {0}
run: |
conda info
conda list
conda config --show-sources
conda config --show
printenv | sort
- shell: bash -el {0}
run: make test