← ...
project 11: the ci/cd pipeline for data
project 11: the “ci/cd” pipeline for data
scenario: a junior engineer pushed bad code that broke production. the mission: build a github action that runs lints and tests before merging.
- tech: github actions, sqlfluff, pytest.
- challenge: automating code quality.
- dev to prod:
- set up a
.github/workflows/data_ci.yml. - add a step to lint sql files using
sqlfluff. - prod requirement: block the pull request if the lint score is below 95%.
- set up a