liupeirong / MLOpsManufacturing

Demonstrate samples and good engineering practice for operationalizing machine learning solutions.
Other
21 stars 9 forks source link

Databricks notebook cicd sample using GitHub Actions #94

Closed liupeirong closed 3 years ago

liupeirong commented 3 years ago

This sample consists of a Databricks Python notebook that calls a function defined in a Python module. It demonstrates how to:

  1. run unit tests with Databricks Connect, both locally and on the build agent.
  2. run integration tests with Databricks.
  3. deploy a notebook job to Databricks.
  4. do all of the above in GitHub Actions.

Note that GitHub Actions must be triggered once to show in Actions tab.

github-actions[bot] commented 3 years ago

:white_check_mark: Result of Pytest Coverage

----------- coverage: platform linux, python 3.7.9-final-0 ----------- Name Stmts Miss Cover
src/dbcicdlib/init.py 0 0 100%
src/dbcicdlib/some_func.py 2 0 100%
src/get_job_id.py 17 17 0%
src/main_notebook.py 13 13 0%
src/setup.py 2 2 0%
TOTAL 34 32 6%
=================== 1 passed, 1
h2floh commented 3 years ago

Can you also please check what this error means? Did the integration test finished successfully?