Skip to content

[REFACTOR][COLTER] Refactor colter dag with DataProcessor #2374

[REFACTOR][COLTER] Refactor colter dag with DataProcessor

[REFACTOR][COLTER] Refactor colter dag with DataProcessor #2374

Workflow file for this run

---
name: Lint Code Base
on: [push, pull_request]
jobs:
build:
name: Lint Code Base
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Python
uses: actions/setup-python@v4
with:
python-version: "3.11.2"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install --upgrade ruff
python -m pip install --upgrade black
# Include `--format=github` to enable automatic inline annotations.
- name: Run Ruff
run: ruff check --diff -- --format=github .
- name: Run Black
uses: psf/black@stable
unit-tests:
name: Run Unit Tests
runs-on: ubuntu-latest
needs: [build]
strategy:
fail-fast: true
matrix:
python-version: [3.10.8]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install --upgrade pytest
python -m pip install --upgrade apache-airflow
- name: unit tests
run: |
pytest tests/unit_tests -v