Skip to content

Commit

Permalink
fix: airflow constraint
Browse files Browse the repository at this point in the history
  • Loading branch information
phi-friday committed Sep 4, 2024
1 parent c6142ac commit 96e0f63
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,13 @@ jobs:
runs-on: ubuntu-latest
env:
UV_CACHE_DIR: /tmp/.uv-cache
UV_CONSTRAINT: "https://raw.githubusercontent.com/apache/airflow/constraints-${{ matrix.airflow-version }}/constraints-${{ matrix.python-version }}.txt"
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
airflow-version: ["2.8.4", "2.9.3", "2.10.0"]

name: check ${{ matrix.python-version }}
name: check py-${{ matrix.python-version }} airflow-${{ matrix.airflow-version }}
steps:
- uses: actions/checkout@v4

Expand All @@ -41,7 +43,7 @@ jobs:
- name: Install dependencies
run: |
uv pip compile pyproject.toml -o requirements.txt --extra test
uv pip install -r requirements.txt
uv pip install -r requirements.txt "apache-airflow==${{ matrix.airflow-version }}"
- name: Install self
run: |
Expand Down

0 comments on commit 96e0f63

Please sign in to comment.