Skip to content

fix: improve thread-aware estimation accuracy and clean up API #148

fix: improve thread-aware estimation accuracy and clean up API

fix: improve thread-aware estimation accuracy and clean up API #148

name: Integration Tests
on:
push:
branches:
- "**"
tags:
- "!**"
workflow_call:
env:
UV_VERSION: 0.8.22
permissions:
contents: read
jobs:
Integration:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
PYTHON_VERSION: ["3.12"]
SNAKEMAKE_VERSION: ["8.30.0", "9.14.0"]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v7
with:
version: "${{ env.UV_VERSION }}"
python-version: "${{ matrix.PYTHON_VERSION }}"
enable-cache: true
cache-suffix: "integration-${{ matrix.PYTHON_VERSION }}-${{ matrix.SNAKEMAKE_VERSION }}"
- name: Install dependencies with specific Snakemake version
run: |
uv sync --group dev
# Override snakemake version
uv pip install snakemake==${{ matrix.SNAKEMAKE_VERSION }}
# Install logger plugin for testing
cd snakemake-logger-plugin-snakesee && uv pip install -e . && cd ..
- name: Show Snakemake version
run: |
uv run snakemake --version
- name: Run integration tests
run: |
uv run pytest tests/integration -v --no-cov --tb=short