ucb_tind_mapper #536
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Dags Check | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.9" | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r dags/requirements.txt | |
pip install apache-airflow boto3 | |
pip check | |
- name: Lint dags with ruff | |
run: | | |
pip install ruff | |
ruff check --output-format=github ./dags | |
- name: Test with Pytest | |
run: | | |
pip install pytest | |
export CONTAINER_EXECUTION_ENVIRONMENT="docker" | |
pytest dags_tests.py -v |