Refactor CNV frequencies functions to their own module #1299
Workflow file for this run
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: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
tests: | |
strategy: | |
fail-fast: true | |
matrix: | |
python-version: ["3.10", "3.11", "3.12"] | |
numpy-version: | |
- "numpy==1.26.4" # current colab version | |
- "numpy~=2.0" # 2.0 series | |
# numba (0.60.0) does not yet support numpy 2.1, disable this for now | |
# - "numpy~=2.1" # 2.1 series | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout source | |
uses: actions/checkout@v4 | |
- name: Setup python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
cache: "pip" | |
- name: Install package | |
run: pip install "${{ matrix.numpy-version }}" .[dev] | |
- name: Run fast unit tests | |
run: pytest -v tests/anoph --typeguard-packages=malariagen_data,malariagen_data.anoph |