Skip to content

Introduce the (internal/db level) concept of "dynamic regions" for TIs #3392

Introduce the (internal/db level) concept of "dynamic regions" for TIs

Introduce the (internal/db level) concept of "dynamic regions" for TIs #3392

Workflow file for this run

# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
#
---
name: Registry Tests
on: # yamllint disable-line rule:truthy
pull_request:
branches: [main]
paths:
- 'dev/registry/**'
- 'registry/**'
- 'providers/*/provider.yaml'
- 'providers/*/*/provider.yaml'
- '.github/workflows/registry-tests.yml'
# test_derive_wave_providers.py pins NON_PROVIDER_TOKENS to the copies in
# these two files, so a PR touching only them still has to run the guard.
- '.github/workflows/publish-docs-to-s3.yml'
- 'dev/breeze/src/airflow_breeze/global_constants.py'
push:
branches: [main]
paths:
- 'dev/registry/**'
permissions:
contents: read
concurrency:
group: registry-tests-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
registry-tests:
name: "Registry extraction tests"
runs-on: ubuntu-slim
# ubuntu-slim is single-core, so the uv sync plus the suite need more headroom than
# the 5 minutes that sufficed on a 2-core runner.
timeout-minutes: 10
steps:
- name: "Checkout repository"
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: "Install uv"
uses: astral-sh/setup-uv@c18668ad3cf93ea998bef934396af7bb5c839dc7 # v10.2.0
with:
python-version: "3.12"
- name: "Run registry extraction tests"
run: cd dev/registry && uv run --group dev pytest tests/ -v