Replace multiprocessing with threading on hmmalign/muscle step. #38
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: Conda build test | |
on: | |
push: | |
branches: ["main", "dev"] | |
paths: ["**.py", "environment.yml"] | |
pull_request: | |
branches: ["main", "dev"] | |
paths: ["**.py", "environment.yml"] | |
workflow_dispatch: | |
jobs: | |
build-conda-and-test: | |
name: Build conda env and test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: mamba-org/setup-micromamba@v1 | |
with: | |
environment-file: environment.yml | |
create-args: >- | |
python=3.10 | |
flake8 | |
pytest | |
pytest-cov | |
- name: Lint with flake8 | |
run: | | |
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics | |
flake8 . --count --exit-zero --max-complexity=30 --max-line-length=130 --statistics --ignore=E203,W503,E402 | |
shell: micromamba-shell {0} | |
- name: Install package | |
run: pip install . | |
shell: micromamba-shell {0} | |
- name: Pytest | |
run: pytest --runslow -vv | |
shell: micromamba-shell {0} |