Skip to content

v0.5.1 — snapshot post-push : DIFF dès le 2e push sans pull intermédi… #9

v0.5.1 — snapshot post-push : DIFF dès le 2e push sans pull intermédi…

v0.5.1 — snapshot post-push : DIFF dès le 2e push sans pull intermédi… #9

Workflow file for this run

name: tests
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
jobs:
test:
runs-on: windows-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: pip
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Install pytest
run: pip install pytest
- name: Unit tests (pytest)
# Lance toute la suite. Couvre déjà test_roundtrip et test_security
# via la découverte pytest standard — pas besoin de les rappeler à la main.
# ATTENTION : NE PAS ajouter `|| true` ou `|| echo ...` ici, sinon les
# échecs de tests passent silencieusement et la CI ne sert plus à rien
# (bug constaté pré-v0.3.6).
run: pytest tests/ -v --tb=short
- name: Compile-check all modules
run: python -m compileall -q src/pzsavesync