Skip to content

docs(changelog): release v1.3.0 with Docker support and architectural… #8

docs(changelog): release v1.3.0 with Docker support and architectural…

docs(changelog): release v1.3.0 with Docker support and architectural… #8

Workflow file for this run

name: DataPrep CI/CD Pipeline
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
lint-and-test:
name: Lint & Test (Python ${{ matrix.python-version }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "3.12"]
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install ruff pytest-cov
- name: Code Linting (Ruff)
run: |
ruff check src/ main.py app.py config/ dags/ tests/ --ignore E501,F401,F841
- name: Run Pytest Suite with Coverage
run: |
python -m pytest tests/ -v --cov=src --cov-report=term-missing
docker-build:
name: Docker Container Build Check
runs-on: ubuntu-latest
needs: lint-and-test
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build Docker Image
uses: docker/build-push-action@v5
with:
context: .
file: ./Dockerfile
push: false
tags: dataprep-pipeline:latest