Pre-commit #28
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: tests | |
on: [push] | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest] | |
python-version: [3.9, 3.11] | |
name: Python ${{ matrix.python-version }} (${{ matrix.os }}) | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup conda | |
uses: s-weigand/setup-conda@v1 | |
with: | |
update-conda: true | |
python-version: ${{ matrix.python-version }} | |
conda-channels: bioconda | |
- name: Install | |
run: | | |
conda install paml datrie | |
pip install --upgrade pip setuptools wheel | |
pip install pytest | |
pip install . | |
- name: Test | |
run: | | |
pytest -s --slow | |