The GitHub Actions job "Tests" on airflow.git/2603/pytest_exclude has succeeded. Run started by GitHub user Dev-iL (triggered by vatsrahul1001).
Head commit for run: d598d8255865ba29734ecb767ff76e745c207a47 / Dev-iL <[email protected]> Fix excluded provider tests crashing pytest When running provider tests (e.g., Providers[google]) on a Python version where the provider is excluded, generate_args_for_pytest removes the test directories but the skip check in _run_test only triggers when its own --ignore filter removes something. Since the directories are already gone, pytest runs with zero test directories and crashes on unrecognized custom arguments like --run-db-tests-only. Add are_all_test_paths_excluded() that explicitly checks whether all test paths for the given test type are in the excluded/suspended provider set, using the same provider.yaml data. Call it early in _run_test to skip before any Docker operations. Report URL: https://github.com/apache/airflow/actions/runs/23284472409 With regards, GitHub Actions via GitBox --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
