modify pytaxonkit.py to handle taxonkit's fuzzy matching (#53) #209
This file contains hidden or 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: | |
| branches: | |
| - master | |
| pull_request: | |
| schedule: | |
| - cron: '0 4 1 * *' | |
| jobs: | |
| build: | |
| name: PyTaxonKit Build (${{ matrix.python-version }}, ${{ matrix.os }}) | |
| runs-on: ubuntu-latest | |
| strategy: | |
| max-parallel: 4 | |
| fail-fast: false | |
| matrix: | |
| python-version: ['3.10', '3.11', '3.12', '3.13'] | |
| 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 . | |
| - name: Style check | |
| run: | | |
| make style | |
| - name: Test with pytest | |
| run: | | |
| make testci |