This repository contains 2 workflows:
- Notebook Linting & Unit Tests (
unit-tests.yml): runspylintand unit tests for the notebooks in theworkspace/notebooksfolder - Synapse Workspace Deployment (
workspace-deployment.yml): creates the templates for the Synapse workspace.
- nbQA: Run isort, pyupgrade, mypy, pylint, flake8, black, blacken-docs, and more on Jupyter Notebooks
- testbook: Unit test your Jupyter Notebooks.
The workflow usese github actions to preform the following steps:
- Checks out the code.
- Installs nbQA & testbook.
- Extracts and fixes the
ipynbnotebooks from theworkspace/notebooksfolder. Resulting files are stored in theipynb_to_testfolder. - Using nbQA runs
pylinton theipynb_to_testfolder. - Using testbook run
pyteston theipynb_to_testfolder.
The workflow uses github actions to preform the following steps:
- Checks out the code.
- Runs the validate operation of the
Azure/Synapse-workspace-deploymentaction. - Uploads the template files created in th
ExportedArtifactsfolder as artifacts.