Skip to content

fix: linter issues & add additionnal test (#13) #57

fix: linter issues & add additionnal test (#13)

fix: linter issues & add additionnal test (#13) #57

Workflow file for this run

name: Build & Test package
on:
push:
branches:
- master
tags:
- v*
pull_request:
branches:
- master
jobs:
build_and_test:
strategy:
fail-fast: false
matrix:
# Follows the version defined in `pyproject.toml` up to the latest version
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Python ${{ matrix.python-version }} & PDM
uses: pdm-project/setup-pdm@v4
with:
python-version: ${{ matrix.python-version }}
cache: true
- name: Install the project dependencies
run: pdm install -d
- name: Build the project
run: pdm build
- name: Run the Unit tests
run: pdm run test -- -v