Skip to content

bug correction python version #5

bug correction python version

bug correction python version #5

name: Vérifier la version de Python et installer des bibliothèques depuis requirements.txt
on:
push:
branches:
- 4-research-about-ci
jobs:
check_and_install:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest, ubuntu-latest, macos-latest]
python-version: [3.11.0]
steps:
- name: Checkout du code
uses: actions/checkout@v2
- name: Configurer Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Afficher la version de Python
run: python --version
- name: Installer les bibliothèques depuis requirements.txt
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Afficher la liste des bibliothèques installées
run: python -m pip freeze