Skip to content

add pylint to env.yml #3

add pylint to env.yml

add pylint to env.yml #3

Workflow file for this run

name: Test
on: [push, pull_request]
defaults:
run:
shell: bash -l {0}
jobs:
test-linux:
name: Test on Linux
runs-on: ubuntu-latest
strategy:
matrix:
python-version:
- "3.8"
- "3.9"
- "3.10"
steps:
- uses: actions/checkout@v3
- name: Use python ${{ matrix.python-version }}
run: echo " - python = ${{ matrix.python-version }}" >> ./HiCMatrix_env_ci.yml
- uses: mamba-org/setup-micromamba@main
with:
environment-file: ./HiCMatrix_env_ci.yml
cache-downloads: true
environment-name: HiCMatrix_env_ci
- name: pip install
run: |
python3 -m pip install .
shell: micromamba-shell {0}
- name: Test HiCMatrix
run: |
py.test hicmatrix/test/ --capture=sys
shell: micromamba-shell {0}
test-osx:
name: Test on OSX
runs-on: macOS-latest
steps:
- uses: actions/checkout@v3
- uses: mamba-org/setup-micromamba@main
with:
environment-file: ./HiCMatrix_env_ci.yml
cache-downloads: true
environment-name: HiCMatrix_env_ci
- name: pip install
run: |
python3 -m pip install .
shell: micromamba-shell {0}
- name: Test HiCMatrix
run: |
py.test hicmatrix/test/ --capture=sys
shell: micromamba-shell {0}