Skip to content

write pairix as dependency #12

write pairix as dependency

write pairix as dependency #12

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.7"
- "3.8"
- "3.9"
- "3.10"
steps:
- uses: actions/checkout@v3
- name: Use python ${{ matrix.python-version }}
run: echo -e "\n - 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
strategy:
matrix:
python-version:
- "3.8"
- "3.9"
- "3.10"
steps:
- uses: actions/checkout@v3
- name: Use python ${{ matrix.python-version }}
run: echo -e "\n - 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}