SISTR Release v1.1.3 final merge #42
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
# This workflow will install Python dependencies, run tests and lint with a single version of Python | |
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python | |
name: Python application | |
on: | |
push: | |
branches: [ "master", "v1.1.3" ] | |
pull_request: | |
branches: [ "master", "v1.1.3" ] | |
permissions: | |
contents: read | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python 3.10 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.10" | |
- name: Install dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install mash ncbi-blast+ libssl-dev libcurl4-openssl-dev mafft libssl-dev ca-certificates -y | |
sudo apt-get install python3-pip python3-dev python3-biopython -y | |
python3 -m pip install --upgrade pip setuptools | |
pip3 install pytest fastcluster openpyxl pycurl pandas scipy "numpy<2" | |
python setup.py install | |
sistr_init | |
- name: Test with pytest | |
run: | | |
pytest -o log_cli=true --basetemp=tmp-pytest |