Skip to content
Extraits de code Groupes Projets
Valider a82e9240 rédigé par François De Keersmaeker's avatar François De Keersmaeker
Parcourir les fichiers

CI: added workflow

parent 33215c0a
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
Pipeline #53976 en échec
name: install-test
on: [push]
jobs:
install-test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository and submodules
uses: actions/checkout@v4
with:
submodules: recursive
- name: Install dependencies
run: pip3 install -r $GITHUB_WORKSPACE/requirements.txt
- name: Build and install package
run: |
python3 -m build
pip3 install $GITHUB_WORKSPACE
- name: Run tests
run: python3 test/test.py
stages:
- test
test-job:
stage: test
script:
- python3 -m venv .venv # Create Python virtual environment
- source .venv/bin/activate # Activate Python virtual environment
- pip3 install -r requirements.txt # Install Python dependencies
- python3 test/test.py # Run tests
- pip3 install build # Install build package
- python3 -m build # Build package
- pip3 install . # Install package
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter