Skip to content

fix ci

fix ci #240

Workflow file for this run

name: unittests
on:
pull_request:
push:
branches: master
jobs:
test:
runs-on: ubuntu-20.04
defaults:
run:
shell: bash -l {0}
strategy:
fail-fast: false
matrix:
python: [3.9]
steps:
- uses: actions/checkout@v2
- uses: conda-incubator/setup-miniconda@v2
with:
python-version: ${{ matrix.python }}
channels: conda-forge
- name: Installations
run: |
conda --version
which python
python setup.py install
pip install flake8 check-manifest
pip install pytest coverage pytest-sugar
- name: Run Python unit tests
run: |
pytest bsi_zoo
flake8 --count bsi_zoo
- name: Upload coverage
run: |
bash <(curl -s https://codecov.io/bash)