Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .github/boring-cyborg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,6 @@ labelPRBasedOnFilePath:
provider:apache-spark:
- providers/apache/spark/**

provider:apache-tinkerpop:
- providers/apache/tinkerpop/**

provider:apprise:
- providers/apprise/**

Expand Down
72 changes: 36 additions & 36 deletions .github/workflows/ci-arm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -508,42 +508,42 @@ jobs:
( needs.build-info.outputs.run-kubernetes-tests == 'true' ||
needs.build-info.outputs.needs-helm-tests == 'true')

tests-go-sdk:
name: "Go SDK tests"
needs: [build-info, build-ci-images]
runs-on: ${{ fromJSON(needs.build-info.outputs.arm-runners) }}
timeout-minutes: 15
permissions:
contents: read
packages: read
if: >
( needs.build-info.outputs.run-go-sdk-tests == 'true' ||
needs.build-info.outputs.run-tests == 'true' &&
needs.build-info.outputs.only-new-ui-files != 'true')
env:
GITHUB_REPOSITORY: ${{ github.repository }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_USERNAME: ${{ github.actor }}
VERBOSE: "true"
steps:
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false

# keep this in sync with go.mod in go-sdk/
- name: Setup Go
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
with:
go-version: 1.24
cache-dependency-path: go-sdk/go.sum

- name: "Cleanup dist files"
run: rm -fv ./dist/*

- name: Run Go tests
working-directory: ./go-sdk
run: go test -v ./...
# tests-go-sdk:
# name: "Go SDK tests"
# needs: [build-info, build-ci-images]
# runs-on: ${{ fromJSON(needs.build-info.outputs.arm-runners) }}
# timeout-minutes: 15
# permissions:
# contents: read
# packages: read
# if: >
# ( needs.build-info.outputs.run-go-sdk-tests == 'true' ||
# needs.build-info.outputs.run-tests == 'true' &&
# needs.build-info.outputs.only-new-ui-files != 'true')
# env:
# GITHUB_REPOSITORY: ${{ github.repository }}
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# GITHUB_USERNAME: ${{ github.actor }}
# VERBOSE: "true"
# steps:
# - name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
# uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
# with:
# persist-credentials: false
#
# # keep this in sync with go.mod in go-sdk/
# - name: Setup Go
# uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
# with:
# go-version: 1.24
# cache-dependency-path: go-sdk/go.sum
#
# - name: "Cleanup dist files"
# run: rm -fv ./dist/*
#
# - name: Run Go tests
# working-directory: ./go-sdk
# run: go test -v ./...

finalize-tests:
name: Finalize tests
Expand Down
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
default_stages: [pre-commit, pre-push]
default_language_version:
python: python3
node: 22.16.0
node: 22.17.0
golang: 1.24.0
minimum_pre_commit_version: '3.2.0'
exclude: ^.*/.*_vendor/
Expand Down Expand Up @@ -464,7 +464,7 @@ repos:
- id: check-airflow-providers-bug-report-template
name: Sort airflow-bug-report provider list
language: python
files: ^\.github/ISSUE_TEMPLATE/airflow_providers_bug_report\.yml$
files: ^\.github/ISSUE_TEMPLATE/3-airflow_providers_bug_report\.yml$
require_serial: true
entry: ./scripts/ci/pre_commit/check_airflow_bug_report_template.py
additional_dependencies: ['rich>=12.4.4', 'pyyaml>=6.0.2']
Expand Down
118 changes: 53 additions & 65 deletions dev/breeze/doc/images/output_static-checks.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion dev/breeze/doc/images/output_static-checks.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
95021976bf6a2815709538bf791ccdc8
3d43a8428b5e0fefbfccaef5003fa5a6
9 changes: 0 additions & 9 deletions dev/breeze/src/airflow_breeze/pre_commit_ids.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@
"check-for-inclusive-language",
"check-get-lineage-collector-providers",
"check-hooks-apply",
"check-i18n-json",
"check-imports-in-providers",
"check-incorrect-use-of-LoggingMixin",
"check-init-decorator-arguments",
Expand All @@ -74,7 +73,6 @@
"check-provider-yaml-valid",
"check-providers-subpackages-init-file-exist",
"check-pydevd-left-in-code",
"check-pytest-mark-db-test-in-providers",
"check-revision-heads-map",
"check-safe-filter-usage-in-html",
"check-significant-newsfragments-are-valid",
Expand All @@ -101,18 +99,12 @@
"end-of-file-fixer",
"fix-encoding-pragma",
"flynt",
"gci",
"generate-airflow-diagrams",
"generate-airflowctl-datamodels",
"generate-airflowctl-help-images",
"generate-openapi-spec",
"generate-openapi-spec-fab",
"generate-pypi-readme",
"generate-tasksdk-datamodels",
"generate-volumes-for-sources",
"go-mockery",
"go-mod-tidy",
"gofmt",
"identity",
"insert-license",
"kubeconform",
Expand All @@ -129,7 +121,6 @@
"mypy-providers",
"mypy-task-sdk",
"pretty-format-json",
"prevent-deprecated-sqlalchemy-usage",
"pylint",
"python-no-log-warn",
"replace-bad-characters",
Expand Down
9 changes: 5 additions & 4 deletions dev/breeze/tests/test_selective_checks.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,10 +167,11 @@


All_SKIPPED_COMMITS_IF_NON_MAIN_BRANCH = (
"check-airflow-provider-compatibility,check-extra-packages-references,check-provider-yaml-valid,"
"compile-fab-assets,generate-openapi-spec-fab,identity,"
"lint-helm-chart,mypy-airflow-core,mypy-airflow-ctl,mypy-dev,"
"mypy-devel-common,mypy-providers,mypy-task-sdk,validate-operators-init"
"check-airflow-provider-compatibility,check-deferrable-default,check-extra-packages-references,"
"check-imports-in-providers,check-provider-yaml-valid,compile-fab-assets,"
"generate-openapi-spec-fab,identity,lint-helm-chart,mypy-airflow-core,"
"mypy-airflow-ctl,mypy-dev,mypy-devel-common,mypy-providers,mypy-task-sdk,"
"update-providers-build-files,validate-operators-init"
)


Expand Down