More CI fixes and mypy fixes
Lint / lint (push) Successful in 20s
Tests / test (push) Successful in 10s
Python CI / test (push) Failing after 1m43s

This commit is contained in:
2026-04-09 23:07:59 +02:00
parent fd0758dd6c
commit 1fe44e7d8a
23 changed files with 154 additions and 99 deletions
+4 -22
View File
@@ -14,24 +14,13 @@ jobs:
runs-on: linux/amd64
container:
image: gitea.tourolle.paris/dtourolle/pyphotoalbum-ci:latest
strategy:
matrix:
python-version: ['3.11', '3.12', '3.13', '3.14']
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
pip install -e ".[dev]"
pip install setuptools coverage-badge interrogate
- name: Install project
run: pip3 install -e . --no-deps --break-system-packages
- name: Download initial failed badges
run: |
@@ -71,7 +60,7 @@ jobs:
- name: Generate coverage reports
if: steps.pytest.outcome == 'success'
run: |
python -c "
python3 -c "
import json
import os
if os.path.exists('coverage.json'):
@@ -100,15 +89,8 @@ jobs:
name: coverage-reports
path: cov_info/
- name: Upload coverage reports to Codecov
if: matrix.python-version == '3.11'
uses: codecov/codecov-action@v3
with:
file: ./coverage.xml
fail_ci_if_error: false
- name: Commit badges to badges branch
if: github.ref == 'refs/heads/master' && matrix.python-version == '3.11'
if: github.ref == 'refs/heads/master'
run: |
git config --local user.email "action@gitea.local"
git config --local user.name "Gitea Action"