Skip to content

Bump pre-commit (#18) #56

Bump pre-commit (#18)

Bump pre-commit (#18) #56

Workflow file for this run

name: Test minimal
on:
push:
branches: [master]
pull_request:
branches: ['*']
jobs:
build:
name: ${{ matrix.os }}
runs-on: ${{ matrix.os }}-latest
strategy:
fail-fast: false
matrix:
os: [ubuntu, macos, windows]
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Conda Environment
uses: conda-incubator/setup-miniconda@v2
with:
miniforge-variant: Mambaforge
miniforge-version: latest
condarc-file: ci/condarc
use-mamba: true
python-version: 3.8
environment-file: ci/requirements-minimal.yml
activate-environment: TEMPLATE-minimal
- name: Show conda options
shell: bash -l {0}
run: conda config --show
- name: conda info
shell: bash -l {0}
run: conda info
- name: conda list
shell: bash -l {0}
run: conda list
- name: Install
shell: bash -l {0}
run: python -m pip install --no-deps -e .
- name: pytest
shell: bash -l {0}
run: |
coverage run -m pytest -v
coverage xml
- name: codecov.io
uses: codecov/codecov-action@v1