Skip to content

build: convert setup.py based setup to pyproject.toml #160

build: convert setup.py based setup to pyproject.toml

build: convert setup.py based setup to pyproject.toml #160

Workflow file for this run

name: panaroo-CI
on:
push:
branches:
- master
- devel
pull_request:
branches:
- master
- devel
schedule:
- cron: '1 1 1 * *'
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7, 3.8, 3.9]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install cd-hit
sudo apt-get install mafft
wget https://github.com/marbl/Mash/releases/download/v2.2/mash-Linux64-v2.2.tar
tar -xvf mash-Linux64-v2.2.tar
sudo cp ./mash-Linux64-v2.2/mash /usr/bin/mash
python --version
python -m pip install -U pip
wget https://github.com/gtonkinhill/panaroo_test_data/releases/download/v0.0.2/travis_test_data.zip
unzip travis_test_data.zip
- name: Install
run: python -m pip install .[test]
- name: Validation Tests
run: pytest -W ignore -q --datafolder="${{ github.workspace }}/travis_test_data/"
build-inspect:
name: Build and inspect the package
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: hynek/build-and-inspect-python-package@f51d0e79a34e62af977fcfe458b41fa8490e6e65 # v2.2.1