Skip to content

Test on latest OS and Python versions in CI #57

Test on latest OS and Python versions in CI

Test on latest OS and Python versions in CI #57

Workflow file for this run

name: CI
on:
- push
- pull_request
jobs:
build:
strategy:
matrix:
os:
- ubuntu-24.04
python-version:
- "3.9"
- "3.10"
- "3.11"
- "3.12"
name: Python ${{ matrix.python-version }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
sudo apt-get install gettext aspell aspell-fr enchant-2
pip install -r requirements.txt
pip install bandit coverage flake8 pylint pytest pytest-cov
- name: Lint with flake8
run: make flake8
- name: Lint with pylint
run: make pylint
- name: Lint with bandit
run: make bandit
- name: Test with pytest
run: make test