Skip to content
Extraits de code Groupes Projets
Valider c5de4b84 rédigé par Céline's avatar Céline
Parcourir les fichiers

fix yml

parent 8da7b8dc
Branches migration-pg
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
Pipeline #3430 en échec
image: python:3.9 image: python:3.9
before_script:
- pip install -r requirements.txt
stages: stages:
- build
- test - test
- export - build
# Build stage # Build stage
build: build:
stage: build stage: build
script: script:
- pip install -r requirements.txt
- python machine_learning.py - python machine_learning.py
artefacts:
paths:
- digits_model.joblib
# Test stage # Test stage
test: test:
stage: test stage: test
script: script:
- pip install -r requirements.txt - pytest test_prediction.py
- pytest test_prediction.py \ No newline at end of file
# Export stage
export:
stage: export
script:
- mv digits_model.joblib artifacts/
\ No newline at end of file
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