Estimation of alternative allele frequencies with metafounders #176
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: Evaluate code syntax and correctness | |
on: [push, pull_request] | |
jobs: | |
pre-commit_and_pytest: | |
name: Run pre-commit and pytest | |
strategy: | |
matrix: | |
os: [ubuntu-latest, Windows-latest, macos-latest] | |
runs-on: ${{ matrix.os }} | |
permissions: | |
contents: read | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.11.x" | |
- uses: pre-commit/[email protected] | |
name: Run pre-commit | |
- name: Install pypa/build | |
run: >- | |
python3 -m | |
pip install | |
--upgrade | |
build | |
- name: Initialize submodules | |
run: | | |
git submodule update --init | |
- name: Build SDist and wheel | |
run: python3 -m build | |
- name: Install AlphaPeel | |
run: pip install dist/AlphaPeel-1.1.3-py3-none-any.whl | |
- name: Install pytest | |
run: | | |
pip install pytest | |
pip install pytest-benchmark | |
- name: Run pytest | |
run: | | |
pytest |