Skip to content

[pre-commit.ci] pre-commit autoupdate #1246

[pre-commit.ci] pre-commit autoupdate

[pre-commit.ci] pre-commit autoupdate #1246

Workflow file for this run

name: CI
on:
- push
- pull_request
defaults:
run:
shell: bash
env:
UV_LOCKED: 1
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version:
- 3.14
services:
redis:
image: redis
ports:
- 6379:6379
steps:
- name: Set up repo
uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install the latest version of uv
uses: astral-sh/setup-uv@v6
- name: Install dependencies
run: uv sync --group ci
- name: Run Tests
run: uv run pytest --cov=tin
- name: Run Coveralls
uses: AndreMiras/coveralls-python-action@develop
with:
parallel: true
flag-name: Pyenv Unit Tests
test_success:
needs: test
runs-on: ubuntu-latest
steps:
- name: Handle Coveralls Finish
uses: AndreMiras/coveralls-python-action@develop
with:
parallel-finished: true
docs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version:
- 3.14
steps:
- name: Set up repo
uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install the latest version of uv
uses: astral-sh/setup-uv@v6
- name: Install dependencies
run: uv sync
- name: Build Docs
run: uv run make html SPHINXOPTS="-W --keep-going"
working-directory: docs