Skip to content

_fix__set_globals_and_seq_args_misprime_lib_mishyb_lib #188

_fix__set_globals_and_seq_args_misprime_lib_mishyb_lib

_fix__set_globals_and_seq_args_misprime_lib_mishyb_lib #188

name: build, pytest and pre-commit
on: [push, pull_request]
jobs:
build-linux:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.12"]
defaults:
run:
shell: bash -l {0}
permissions:
id-token: write
contents: read
steps:
- name: checkout
uses: actions/[email protected]
- name: Set up Python ${{ matrix.python-version }}
uses: actions/[email protected]
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest pre-commit
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Test with pytest and then run pre-commit
run: >
python setup.py build_ext --inplace &&
pytest &&
pre-commit run --all-files