{"id":18033634,"url":"https://github.com/cmendible/azure_synapse_notebook_tests","last_synced_at":"2025-08-22T01:06:27.122Z","repository":{"id":62487549,"uuid":"560009752","full_name":"cmendible/azure_synapse_notebook_tests","owner":"cmendible","description":"Azure Synapse Notebook Tests","archived":false,"fork":false,"pushed_at":"2022-11-02T16:03:57.000Z","size":3,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-23T07:51:13.538Z","etag":null,"topics":["azure","azure-synapse","jupiter-notebook","python","unit-testing"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cmendible.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-10-31T14:57:21.000Z","updated_at":"2024-11-27T03:48:43.000Z","dependencies_parsed_at":"2022-11-02T11:01:35.498Z","dependency_job_id":null,"html_url":"https://github.com/cmendible/azure_synapse_notebook_tests","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmendible%2Fazure_synapse_notebook_tests","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmendible%2Fazure_synapse_notebook_tests/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmendible%2Fazure_synapse_notebook_tests/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmendible%2Fazure_synapse_notebook_tests/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cmendible","download_url":"https://codeload.github.com/cmendible/azure_synapse_notebook_tests/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245797467,"owners_count":20673862,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["azure","azure-synapse","jupiter-notebook","python","unit-testing"],"created_at":"2024-10-30T11:07:58.806Z","updated_at":"2025-03-27T06:31:14.537Z","avatar_url":"https://github.com/cmendible.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Azure Synapse Notebook Tests\n\nThis repository contains 2 workflows:\n\n- **Notebook Linting \u0026 Unit Tests** (`unit-tests.yml`): runs `pylint` and unit tests for the notebooks in the `workspace/notebooks` folder\n- **Synapse Workspace Deployment** (`workspace-deployment.yml`): creates the templates for the Synapse workspace.\n\n## Notebook Linting \u0026 Unit Tests\n\n### Prerequisites:\n\n- [nbQA](https://github.com/nbQA-dev/nbQA): Run isort, pyupgrade, mypy, pylint, flake8, black, blacken-docs, and more on Jupyter Notebooks\n- [testbook](https://github.com/nteract/testbook): Unit test your Jupyter Notebooks.\n\n### How it works\n\nThe workflow usese github actions to preform the following steps:\n\n- Checks out the code.\n- Installs [nbQA](https://github.com/nbQA-dev/nbQA) \u0026 [testbook](https://github.com/nteract/testbook).\n- Extracts and fixes the `ipynb` notebooks from the `workspace/notebooks` folder. Resulting files are stored in the `ipynb_to_test` folder.\n- Using [nbQA](https://github.com/nbQA-dev/nbQA) runs `pylint` on the `ipynb_to_test` folder.\n- Using [testbook](https://github.com/nteract/testbook) run `pytest` on the `ipynb_to_test` folder.\n\n## Synapse Workspace Deployment\n\n### How it works\n\nThe workflow uses github actions to preform the following steps:\n\n- Checks out the code.\n- Runs the validate operation of the `Azure/Synapse-workspace-deployment` action.\n- Uploads the template files created in th `ExportedArtifacts` folder as artifacts.\n\n## References\n\n- [Automating the Publishing of Workspace Artifacts in Synapse CICD](https://techcommunity.microsoft.com/t5/azure-synapse-analytics-blog/automating-the-publishing-of-workspace-artifacts-in-synapse-cicd/ba-p/3603042)\n- [Continuous integration and delivery for an Azure Synapse Analytics workspace](https://learn.microsoft.com/en-us/azure/synapse-analytics/cicd/continuous-integration-delivery#set-up-a-release-in-github-actions)\n- [Azure Synapse Workspace Deployment](https://github.com/Azure/Synapse-workspace-deployment)\n- [nbQA](https://github.com/nbQA-dev/nbQA)\n- [testbook](https://github.com/nteract/testbook)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcmendible%2Fazure_synapse_notebook_tests","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcmendible%2Fazure_synapse_notebook_tests","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcmendible%2Fazure_synapse_notebook_tests/lists"}