Skip to content

BTI-841: Full test suite with 100% coverage and SDK correctness fixes #4

BTI-841: Full test suite with 100% coverage and SDK correctness fixes

BTI-841: Full test suite with 100% coverage and SDK correctness fixes #4

Workflow file for this run

name: CI
on:
pull_request:
push:
branches: [master, develop]
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.13"
cache: pip
- run: pip install ruff
- run: ruff check .
- run: ruff format --check .
test:
runs-on: ${{ matrix.runs-on }}
strategy:
fail-fast: false
matrix:
include:
# Python 3.7 and 3.8 aren't available on ubuntu-24.04 images; pin to 22.04.
- python-version: "3.7"
runs-on: ubuntu-22.04
- python-version: "3.8"
runs-on: ubuntu-22.04
- python-version: "3.9"
runs-on: ubuntu-latest
- python-version: "3.10"
runs-on: ubuntu-latest
- python-version: "3.11"
runs-on: ubuntu-latest
- python-version: "3.12"
runs-on: ubuntu-latest
- python-version: "3.13"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: pip
- run: pip install -r requirements-dev.txt
- run: pytest --cov=buckaroo --cov-report=term-missing