Skip to content

Switch to official Coveralls action #1250

Switch to official Coveralls action

Switch to official Coveralls action #1250

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@v5
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- name: Install the latest version of uv
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
- name: Run Tests
run: uv run --group=ci pytest --cov=tin
- name: Run Coveralls
uses: coverallsapp/github-action@v2
with:
parallel: true
flag-name: Pyenv Unit Tests
test_success:
needs: test
runs-on: ubuntu-latest
steps:
- name: Handle Coveralls Finish
uses: coverallsapp/github-action@v2
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