Merge pull request #31 from Clinical-Genomics/update-codeowners #210
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, pull_request] | |
jobs: | |
build: | |
name: Test Crunchy (${{ matrix.python-version }}, ${{ matrix.os }}) | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: ["3.9", "3.10"] | |
steps: | |
- name: Git checkout | |
uses: actions/[email protected] | |
- name: Get Conda | |
uses: conda-incubator/[email protected] | |
with: | |
auto-update-conda: true | |
python-version: ${{ matrix.python-version }} | |
# Need to add shell to make conda environments work | |
- name: Install spring | |
shell: bash -l {0} | |
run: | | |
conda install -c bioconda spring | |
- name: Install samtools | |
shell: bash -l {0} | |
run: | | |
conda install -c bioconda samtools | |
- name: Install dependencies | |
shell: bash -l {0} | |
run: | | |
python -m pip install --upgrade pip | |
python setup.py install | |
- name: Test with pytest | |
shell: bash -l {0} | |
run: | | |
pip install pytest | |
pip install pytest-mock | |
py.test -rxs tests/ |