GSTT-CSC / MLOps

Framework for building ML apps
GNU General Public License v3.0
9 stars 5 forks source link

Feature/unit tests #29

Closed laurencejackson closed 2 years ago

laurencejackson commented 2 years ago

Adds tests functions for Experiment class and adds Github actions for:

github-actions[bot] commented 2 years ago

:white_check_mark: Result of Pytest Coverage

---------- coverage: platform linux, python 3.8.12-final-0 ----------- Name Stmts Miss Cover
mlops/Experiment.py 88 9 90%
mlops/ProjectFile.py 22 1 95%
mlops/init.py 0 0 100%
TOTAL 110 10 91%
=========================== short test summary
FAILED tests/mlops/test_Experiment.py::TestExperiment::test_run - docker.erro...
============= 1 failed, 9
github-actions[bot] commented 2 years ago

Coverage

Coverage Report
FileStmtsMissCoverMissing
mlops
   Experiment.py881089%40–41, 72, 89, 113–116, 120–121, 131
   ProjectFile.py22195%19
TOTAL1101190% 

Tests Skipped Failures Errors Time
10 0 :zzz: 1 :x: 0 :fire: 220.669s :stopwatch:
laurencejackson commented 2 years ago

This is ready for review now. It makes pretty much all the same changes as the hazen testing update.