Skip to content

modify to check only chap 9 codes #5

modify to check only chap 9 codes

modify to check only chap 9 codes #5

Workflow file for this run

name: python static checks and tests
on:
push:
branches: ["main"]
jobs:
testing:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v1
- name: Setup Python
uses: actions/setup-python@v1
with:
python-version: 3.12.7
architecture: x64
- name: Install Flake8
run: pip install flake8
- name: Run Flake8
run: flake8
- name: Install Pylint
run: pip install pylint
- name: Run Pylint
run: find airflow/chap9/ -name "*.py" | xargs pylint --output-format=colorized
- name: Install Black
run: pip install black
- name: Run Black
run: find airflow/chap9/ -name "*.py" | xargs black --check
- name: Install dependencies
run: pip install apache-airflow pytest
- name: Test DAG integrity
run: pytest airflow/chap9/tests/