diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f3ab970..a154d2b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,5 +25,8 @@ jobs: run: vulture formation_indus_ds_avancee scripts --min-confidence 100 - name: Run tests run: python -m pytest tests/test_unit - # Add behave command + - name: Run Integration Tests + run: behave tests/test_functional/features + - name: Quality + run: python -m pytest --cov=formation_indus_ds_avancee/ tests/test_unit/ -vv -p no:warnings diff --git a/tests/test_functional/features/training_workflow.feature b/tests/test_functional/features/training_workflow.feature index 57812cf..3814a7f 100644 --- a/tests/test_functional/features/training_workflow.feature +++ b/tests/test_functional/features/training_workflow.feature @@ -2,6 +2,6 @@ Feature: Model training I want to be able to train by model when a dataset containing the features and the target is available. # Add task names Scenario: train the model when training data is available - Given - When - Then + Given training data is available + When I launch the training + Then a model is added to the model registry