Skip to content

Commit

Permalink
test install biblio
Browse files Browse the repository at this point in the history
  • Loading branch information
vhahnschutz committed Dec 14, 2023
1 parent 902c92d commit 73286ca
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/github-actions-demoBis.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Vérifier la version de Python et installer des bibliothèques
name: Vérifier la version de Python et installer des bibliothèques depuis requirements.txt

on:
push:
branches:
- 4-research-about-ci
- main

jobs:
check_and_install:
Expand All @@ -12,7 +12,7 @@ jobs:
strategy:
matrix:
os: [windows-latest, ubuntu-latest, macos-latest]
python-version: [3.11.0]
python-version: [3.8, 3.9, 3.10]

steps:
- name: Checkout du code
Expand All @@ -26,10 +26,10 @@ jobs:
- name: Afficher la version de Python
run: python --version

- name: Installer les bibliothèques
- name: Installer les bibliothèques depuis requirements.txt
run: |
python -m pip install --upgrade pip
pip install numpy requests matplotlib # Vous pouvez ajouter vos bibliothèques ici
pip install -r requirements.txt
- name: Afficher la liste des bibliothèques installées
run: python -m pip freeze
3 changes: 3 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
numpy==1.21.0
requests==2.26.0
matplotlib==3.4.3

0 comments on commit 73286ca

Please sign in to comment.