The GitHub Actions job "Tests" on airflow.git has succeeded.
Run started by GitHub user potiuk (triggered by potiuk).

Head commit for run:
d048b1a5013707ff50eec114c444f3d79ec928d2 / Jarek Potiuk <[email protected]>
Fix selective checks when only pyproject.toml changes

In case only pyproject.toml changes we should automatically build
CI image as we need to run full set of static checks - including
mypy and other tools.

This change triggers ci-image for such case and it also fixes
a subtle bug where "pyproject_toml_changed" was always set
to true (but nothing depended on it, because we are checking if
build dependencies changed in pyproject.toml to trigger full build
as most of the build logic and dependencies is in hatch_build.py

The change first now attempts to see if the pyprject.toml
changed at all (i.e. if pyprooject.toml is in the list of files
that are changed in the commit) and only then reads the content
of old and new version of pyproject.toml to compare them. This
will make selective checks a bit faster as it won't run two git
commands when pyproject.toml has not changed.

Also tests_common are now added to "all sources" group which
should trigger tests when only tests_common change.

Report URL: https://github.com/apache/airflow/actions/runs/11369571764

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to