Data EngineeringFDE integration and deployment foundations

Create a CI workflow that runs meaningful tests

PK
Pankit Kumar
Sr. Data Scientist at Parexel (a Goldman Sachs–backed company) · 20 September 2026 · 2 min read
Technically reviewed by Ishaan Sharma
In this article (3 sections)

CI should reproduce the checks that protect the artifact. A green job that only imports one module is weak evidence.

Review the stage order

The integration lab defines a fixture pipeline.

python
from integration_cases import ci_case

result = ci_case()
assert result["tests_before_build"] is True
assert result["deploy_step_present"] is False
assert result["secrets_in_pull_request"] is False
assert result["workflow_executed"] is False
assert "contract tests" in result["steps"]

No GitHub Actions workflow ran.

Pin action versions, choose explicit Python versions, install from lock/metadata and run formatting/lint, types, unit and offline contract tests. Build the artifact once after checks and retain test/build evidence. Test migrations or containers where risk warrants it.

Treat fork pull requests as untrusted. Do not expose deployment secrets or grant write tokens. Dependency caches improve speed but are not artifacts and must be treated as untrusted input. Separate reviewed protected-branch deployment from PR validation.

The FDE for Freshers course connects code review to CI/CD and deployment.

Exercise

Create a local workflow file, lint it and run equivalent commands locally. Plant one schema regression and prove the contract stage blocks the artifact.

Continue learning

This article is part of the FDE integration and deployment foundations sequence. Use the neighbouring tasks when you need the prerequisite or the next application.

Reference: GitHub Actions Python build/test guide.

PK
Pankit Kumar
Lead Instructor, NeuraPath Academy

Pankit Kumar has 10 years in Data Science & AI, building and shipping production systems in regulated pharma and clinical environments. He is a freelance trainer at Boston Institute of Analytics, AnalytixLabs and Scaler, and has taught this material to thousands of working professionals.

This article is part of our FDE for Freshers programme — 6–7 months. Build your engineering foundations, then take AI from discovery to delivery.

Explore FDE for Freshers
Counselling is free · no obligation

Not sure which programme fits?

Tell us your background and we will map it to the right entry point — including saying so when a cheaper programme is the better fit. A counsellor replies within one working day.