Skip to content

Commit 88c8377

Browse files
CI: Amélioration des importations dans les workflows
- Amélioration des importations dans les workflows en les faisant utiliser le fichier requirements.txt
1 parent 33474a3 commit 88c8377

3 files changed

Lines changed: 3 additions & 15 deletions

File tree

.github/workflows/documentation.yaml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,7 @@ jobs:
3030
- name: Installation des dépendances
3131
run: |
3232
python -m pip install --upgrade pip
33-
pip install sphinx
34-
pip install sphinx_rtd_theme --break-system-packages
35-
pip install colorama
36-
pip install altair
37-
pip install pandas
33+
pip install -r requirements.txt
3834
3935
# Étape 4 : Générer la documentation
4036
- name: Construction de la documentation (avec Sphinx)

.github/workflows/qualite.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,7 @@ jobs:
2525
- name: Installation des dépendances
2626
run: |
2727
python -m pip install --upgrade pip
28-
pip install pylint
29-
pip install colorama
30-
pip install altair
31-
pip install pandas
28+
pip install -r requirements.txt
3229
3330
# Étape 4 : Lancement de l'analyse
3431
- name: Analyse avec Pylint (note >= 9.0 requise)

.github/workflows/tests.yaml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,7 @@ jobs:
3232
- name: Installer les dépendances
3333
run: |
3434
python -m pip install --upgrade pip
35-
pip install colorama
36-
pip install altair
37-
pip install pandas
38-
pip install pytest
39-
pip install pytest-cov
40-
pip install pytest-mock
35+
pip install -r requirements.txt
4136
4237
# Étape 4 : Lancer les tests unitaires
4338
- name: Lancer les tests unitaires

0 commit comments

Comments
 (0)