Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
wwoszczek committed Dec 6, 2023
1 parent cb8a7c0 commit 979facc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
run: |
pytest tests/test_mlflow.py
pytest tests/test_train_model.py
continue-on-error: true
continue-on-error: false


cd_push_to_dockerhub:
Expand Down
2 changes: 1 addition & 1 deletion tests/test_train_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def test_epoch_loss():

def test_accuracy_threshold():
for index, row in runs_final.iterrows():
assert row["metrics.test_accuracy"]>70, "Model accuracy under threshold, review model architecture"
assert row["metrics.validation_accuracy"]>70, "Model accuracy under threshold, review model architecture"

def test_artifacts():
for index, row in runs_final.iterrows():
Expand Down

0 comments on commit 979facc

Please sign in to comment.