Using custom docker image for local test
- Install act
brew install act
- Build custom docker image
1
docker build -t local-airflow-ci . -f ./Dockerfile.ci --build-arg AIRFLOW_VERSION=2.1.4-buster
- Test specific job
1
act -W ./.github/workflows/pull_request_ci.yml -P self-hosted=local-airflow-ci -j pylint