Skip to content

just fmt

just fmt #46

Workflow file for this run

name: Tests
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
defaults:
run:
shell: bash -el {0}
steps:
- uses: actions/checkout@v4
- uses: conda-incubator/setup-miniconda@v3
with:
python-version: ${{ matrix.python-version }}
channels: conda-forge,bioconda
channel-priority: strict
activate-environment: bactopia-py
environment-file: environment.yml
auto-update-conda: true
conda-remove-defaults: "true"
- name: Install package
run: python -m pip install --no-deps -e .
- name: Lint
run: just check
- name: Run tests
run: pytest -m "not integration" --cov=bactopia --cov-report=xml
- name: Upload coverage
if: matrix.python-version == '3.10'
uses: codecov/codecov-action@v4
with:
files: coverage.xml
fail_ci_if_not_found: false