Skip to content

Upgrade Airflow and dependencies #229

Upgrade Airflow and dependencies

Upgrade Airflow and dependencies #229

Workflow file for this run

name: Test
on:
- push
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.12]
steps:
- name: checkout
uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Lint
uses: chartboost/ruff-action@v1
# Default action is 'check'
# it may move, see https://github.com/astral-sh/ruff/issues/8400
- name: Format
uses: chartboost/ruff-action@v1
with:
args: 'format --check'
- name: Install dependencies
run: |
pip install -r requirements.txt
pip install -r requirements-dev.txt
- name: Run tests
run: pytest
env:
AIRFLOW_VAR_DIMENSIONS_API_USER: ${{ secrets.AIRFLOW_VAR_DIMENSIONS_API_USER }}
AIRFLOW_VAR_DIMENSIONS_API_PASS: ${{ secrets.AIRFLOW_VAR_DIMENSIONS_API_PASS }}