Skip to content

replace np.bool with np.bool_ due to deprecation #7

replace np.bool with np.bool_ due to deprecation

replace np.bool with np.bool_ due to deprecation #7

Workflow file for this run

name: Test
on: [push, pull_request]
jobs:
main:
runs-on: ubuntu-latest
defaults:
run:
shell: bash -l {0}
steps:
- uses: actions/checkout@v2
- uses: conda-incubator/setup-miniconda@v2
with:
activate-environment: test
channels: conda-forge
auto-update-conda: true
- name: install requirements
run: >-
conda install --file requirements.txt --file requirements-dev.txt
- name: install the package
run: python -m pip install . --no-deps
- name: run the tests and check for test coverage
run: coverage run -m pytest
- name: generate the test coverage report and upload it to codecov
run: |
coverage report -m
codecov
- name: check the code style
run: flake8