This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git.
from acb1a10 Use logger to print message during task execution. (#22488)
add 3c7cd47 New design of system tests (#22311)
No new revisions were added by this update.
Summary of changes:
.pre-commit-config.yaml | 8 +
BREEZE.rst | 6 +-
STATIC_CODE_CHECKS.rst | 2 +
breeze-complete | 1 +
dev/breeze/src/airflow_breeze/pre_commit_ids.py | 1 +
.../operators/cloud/bigquery.rst | 61 +++---
.../operators/cloud/data_loss_prevention.rst | 2 +-
docs/apache-airflow/best-practices.rst | 29 ++-
docs/exts/docs_build/lint_checks.py | 14 +-
pytest.ini | 1 +
.../ci/pre_commit/pre_commit_check_system_tests.py | 91 ++++++++
tests/always/test_example_dags.py | 68 +++---
tests/always/test_project_structure.py | 113 +++-------
.../google/cloud/operators/test_bigquery_system.py | 63 ------
tests/system/README.md | 104 +++++++++
tests/system/conftest.py | 58 +++++
tests/system/providers/google/README.md | 99 +++++++++
.../google/bigquery/example_bigquery_dataset.py | 96 +++++++++
.../google/bigquery/example_bigquery_operations.py | 108 ++++++++++
.../example_bigquery_operations_location.py | 88 ++++++++
.../google/bigquery}/example_bigquery_queries.py | 89 +++++---
.../google/bigquery}/example_bigquery_sensors.py | 43 ++--
.../google/bigquery/example_bigquery_tables.py | 237 +++++++++------------
.../bigquery/example_bigquery_to_bigquery.py | 104 +++++++++
.../google/bigquery}/example_bigquery_to_gcs.py | 67 ++++--
.../bigquery/resources}/example_bigquery_query.sql | 0
.../bigquery/resources/update_table_schema.json | 12 ++
.../google/bigquery/resources/us-states.csv | 51 +++++
.../system/providers/google/conftest.py | 12 +-
.../utils/__init__.py} | 12 +-
.../system/utils/watcher.py | 18 +-
31 files changed, 1222 insertions(+), 436 deletions(-)
create mode 100755 scripts/ci/pre_commit/pre_commit_check_system_tests.py
delete mode 100644
tests/providers/google/cloud/operators/test_bigquery_system.py
create mode 100644 tests/system/README.md
create mode 100644 tests/system/conftest.py
create mode 100644 tests/system/providers/google/README.md
create mode 100644
tests/system/providers/google/bigquery/example_bigquery_dataset.py
create mode 100644
tests/system/providers/google/bigquery/example_bigquery_operations.py
create mode 100644
tests/system/providers/google/bigquery/example_bigquery_operations_location.py
rename {airflow/providers/google/cloud/example_dags =>
tests/system/providers/google/bigquery}/example_bigquery_queries.py (79%)
rename {airflow/providers/google/cloud/example_dags =>
tests/system/providers/google/bigquery}/example_bigquery_sensors.py (74%)
rename
airflow/providers/google/cloud/example_dags/example_bigquery_operations.py =>
tests/system/providers/google/bigquery/example_bigquery_tables.py (58%)
create mode 100644
tests/system/providers/google/bigquery/example_bigquery_to_bigquery.py
copy {airflow/providers/google/cloud/example_dags =>
tests/system/providers/google/bigquery}/example_bigquery_to_gcs.py (52%)
rename {airflow/providers/google/cloud/example_dags =>
tests/system/providers/google/bigquery/resources}/example_bigquery_query.sql
(100%)
create mode 100644
tests/system/providers/google/bigquery/resources/update_table_schema.json
create mode 100644
tests/system/providers/google/bigquery/resources/us-states.csv
copy dev/breeze/setup.py => tests/system/providers/google/conftest.py (85%)
copy tests/{listeners/partial_listener.py => system/utils/__init__.py} (83%)
copy airflow/contrib/sensors/imap_attachment_sensor.py =>
tests/system/utils/watcher.py (68%)