Skip to content
Open
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
f9094f9
chore: add .venv to .gitignore
NathanTesseyre May 21, 2026
6f9cbf1
fix: correct flask package name in requirements.txt
NathanTesseyre May 21, 2026
4cd4cdb
fix: add missing colon in app.py
NathanTesseyre May 21, 2026
89a4599
fix: add missing colon in app.py
NathanTesseyre May 21, 2026
21f9193
fix: use english variable name errors instead of erreurs in app.py
NathanTesseyre May 21, 2026
931bc72
fix: use english variable name errors instead of erreurs in app.py
NathanTesseyre May 21, 2026
bb33acb
fix: update API port in config.json
NathanTesseyre May 21, 2026
9971955
fix: update API port in config.json
NathanTesseyre May 21, 2026
8e06e83
fix: hardcode log filename instead of uninitialized variable in app.py
NathanTesseyre May 21, 2026
01d30d9
chore: remove outdated comments in app.py
NathanTesseyre May 21, 2026
9388866
fix: correct axios import typo
NathanTesseyre May 21, 2026
0783068
chore: use axios conventional response.data instead of response.body
NathanTesseyre May 21, 2026
cdb6f4b
fix: correct axios dependency name in package.json
NathanTesseyre May 21, 2026
90fd1af
chore: add node_modules dir in .gitignore
NathanTesseyre May 21, 2026
f745dd7
chore: add package-lock.json
NathanTesseyre May 21, 2026
6097e70
ci: ajout pipeline GitHub Actions vérification Python et Node
NathanTesseyre May 21, 2026
54b287e
chore: use config.json to load log_file in app.py instead of hardcode…
NathanTesseyre May 21, 2026
25c4b27
Revert "chore: add .venv to .gitignore"
NathanTesseyre May 22, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 43 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,54 @@
name: CI
name: CI — Vérification API Python

on:
push:
branches: [ "main" ]
branches: [ main, 'fix/**', 'feat/**' ]
pull_request:
branches: [ "main" ]
branches: [ main ]

jobs:
build:
test-python-api:
runs-on: ubuntu-latest

steps:
- name: Checkout du code
- name: Récupérer le code
uses: actions/checkout@v4

- name: Exemple d'étape
run: echo "Ajoute tes étapes de build/test ici !"
- name: Installer Python 3.11
uses: actions/setup-python@v5
with:
python-version: '3.11'

- name: Installer les dépendances
run: |
cd python-api
pip install -r requirements.txt

- name: Vérifier que Flask démarre sans erreur
run: |
cd python-api
timeout 5 python app.py || true
echo "Vérification terminée"

test-node-client:
runs-on: ubuntu-latest

steps:
- name: Récupérer le code
uses: actions/checkout@v4

- name: Installer Node.js 18
uses: actions/setup-node@v4
with:
node-version: '18'

- name: Installer les dépendances npm
run: |
cd node-client
npm install

- name: Vérifier la syntaxe JavaScript
run: |
cd node-client
node --check app.js
echo "Syntaxe JavaScript valide"
Loading