Skip to content

Bump actions/deploy-pages from 4 to 5 #434

Bump actions/deploy-pages from 4 to 5

Bump actions/deploy-pages from 4 to 5 #434

Workflow file for this run

name: pytest
on:
push:
branches:
- main
paths:
- "sapporo/**"
- "tests/**"
- "pyproject.toml"
workflow_dispatch: {}
pull_request:
types:
- opened
- synchronize
jobs:
unit-test:
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13"]
steps:
- name: Checkout Code
uses: actions/checkout@v6
- name: Setup uv
uses: astral-sh/setup-uv@v7
with:
python-version: ${{ matrix.python-version }}
- name: Install Dependencies
run: uv sync --all-extras
- name: Run pytest
run: uv run pytest -v --tb=short
mutation-test:
if: github.event_name == 'workflow_dispatch'
runs-on: ubuntu-24.04
steps:
- name: Checkout Code
uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Setup uv
uses: astral-sh/setup-uv@v7
with:
python-version: "3.12"
- name: Install Dependencies
run: uv sync --locked --all-extras
- name: Run mutmut
run: uv run mutmut run
- name: Show mutmut results
if: always()
run: uv run mutmut results