Fix test suite #143
Workflow file for this run
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: CI Build | |
defaults: | |
run: | |
shell: bash -l {0} # Critical for activating Conda environment | |
on: | |
push: | |
schedule: | |
- cron: '0 4 1 * *' | |
jobs: | |
build: | |
name: PyTaxonKit Build (${{ matrix.python-version }}, ${{ matrix.os }}) | |
runs-on: ${{ matrix.os }} | |
strategy: | |
max-parallel: 4 | |
matrix: | |
include: | |
- os: ubuntu-latest | |
python-version: "3.8" | |
- os: ubuntu-latest | |
python-version: "3.9" | |
- os: ubuntu-latest | |
python-version: "3.10" | |
- os: ubuntu-latest | |
python-version: "3.11" | |
- os: ubuntu-latest | |
python-version: "3.12" | |
# - os: macos-latest | |
# python-version: "3.9" | |
steps: | |
- uses: actions/checkout@v1 | |
- uses: conda-incubator/setup-miniconda@v2 | |
with: | |
auto-update-conda: true | |
python-version: ${{ matrix.python-version }} | |
environment-file: environment.yaml | |
- name: Taxonomy data download | |
run: | | |
mkdir ~/.taxonkit | |
pushd ~/.taxonkit | |
curl -L -O https://ftp.ncbi.nih.gov/pub/taxonomy/taxdump.tar.gz | |
tar -xzf taxdump.tar.gz | |
popd | |
- name: Install | |
run: | | |
python -m pip install --upgrade pip | |
pip install . | |
make devenv | |
- name: Style check | |
run: | | |
make style | |
- name: Test with pytest | |
run: | | |
make testci |