fix: do not write stats into new file with stats CLI #61
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: build | |
on: [push] | |
jobs: | |
build-linux: | |
runs-on: ubuntu-latest | |
strategy: | |
max-parallel: 5 | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v2 | |
- name: Create micromamba env. for package | |
uses: mamba-org/setup-micromamba@v1 | |
with: | |
generate-run-shell: true | |
environment-file: environment.yml | |
- name: Install package | |
run: | | |
pip install . | |
shell: micromamba-shell {0} | |
- name: Check installed package | |
run: | | |
hicstuff --version | |
shell: micromamba-shell {0} | |
- name: Lint and test | |
run: | | |
pip install pytest-pylint pytest pytest-cov pylint codecov mappy | |
pytest --pylint --pylint-error-types=EF --pylint-rcfile=.pylintrc --doctest-modules --doctest-modules hicstuff | |
pytest --cov=hicstuff | |
codecov | |
shell: micromamba-shell {0} | |