Skip to content

Resolve #14 -- Add offical pre-commit hooks #75

Resolve #14 -- Add offical pre-commit hooks

Resolve #14 -- Add offical pre-commit hooks #75

Workflow file for this run

# SPDX-FileCopyrightText: 2019-2025 Sébastien Helleu <[email protected]>
#
# SPDX-License-Identifier: GPL-3.0-or-later
name: CI
on:
- push
- pull_request
jobs:
build:
strategy:
matrix:
os:
- ubuntu-24.04
python-version:
- "3.9"
- "3.10"
- "3.11"
- "3.12"
- "3.13"
name: Python ${{ matrix.python-version }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v6
- name: Install uv and set the Python version
uses: astral-sh/setup-uv@v7
with:
python-version: ${{ matrix.python-version }}
- name: Install the project
run: uv sync --locked --all-extras --dev
- name: Install dependencies
run: |
sudo apt-get install gettext aspell aspell-fr enchant-2
- name: Lint
run: make lint
- name: Run tests
run: make test