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

Head commit for run:
80f3aac511fd72c0dfa78fb185a9b9ab3b216d09 / Jarek Potiuk <[email protected]>
Improve "other" test category selection

The "Other" test category automatically selects all tests that
are not included in any of the regular categories. That is to
make sure that we do not forget to add any directory that
has been added. However this led to a long directory selection
for "Other" category including system tests that have been
automatically added there. However those tests are always skipped
in regular tests and collecting those tests during "Other"
execution is not needed and slows it down.

Similarly System tests changes were treated as "Other change"
for incoming PRs. This means that any change to system tests
would trigger "all tests" rather than selective subset of
those - the same as any core change.

However System tests are also part of the documentation,
so any change in system tests should trigger docs
builds.

This change improves it in a few ways:

* Other tests now do not include "System Tests" - they are
  treated the same way as other test categories (but not
  included in test category selection for now - until we get
  a good way of breeze-integration for System Tests

* They are also excluded from treating them as "other" change
  when considering which tests to run. Changes to system tests
  will not trigger "all" tests, just those that accompanying
  changes would trigger.

* The changes to system tests only, however, triggers docs build
  because those are triggered by any source change.a

* The __pycache__ directories are removed from the list of
  "Other" packages to run.

* In order to make sure system tests are pytest-collectable,
  we perform pytest collection for all tests right after downloading
  the CI images and verifying them. This makes sure that the
  tests are collectible before we even attempt to run them - this way
  we avoid unnecessary machine spin-up and breze installation for the
  multiple jobs that run the tests. This slows down feedback time
  a litle, but should increase overall robustness of the test suite.

* an old, unused nosetest collection script doing the same in the past
  has been removed (it was discovered during implementation)

Noticed in: #28319

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

With regards,
GitHub Actions via GitBox


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

Reply via email to