Skip to content

202512 release fixes #1027

202512 release fixes

202512 release fixes #1027

Workflow file for this run

name: kg-microbe QC
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ "3.10", "3.11", "3.12" ]
steps:
- name: Check out repository
uses: actions/[email protected]
with:
fetch-depth: 0 # Fetch all history for accurate versioning
- name: Install Poetry
run: |
pipx install poetry
pipx inject poetry poetry-dynamic-versioning
- name: Set up Python ${{ matrix.python-version }}
uses: actions/[email protected]
with:
python-version: ${{ matrix.python-version }}
cache: "poetry"
- name: Install dependencies
run: poetry install --no-interaction --all-extras --no-root
- name: Run CodeSpell
run: poetry run tox -e codespell
- name: Linting
run: poetry run tox -e lint
- name: Test with pytest and generate coverage file
run: poetry run tox -e py