Skip to content

Much simpler way to run provider compatibility tests#39883

Merged
potiuk merged 1 commit intoapache:mainfrom
potiuk:easier-way-to-run-provider-compatibility-tests
May 28, 2024
Merged

Much simpler way to run provider compatibility tests#39883
potiuk merged 1 commit intoapache:mainfrom
potiuk:easier-way-to-run-provider-compatibility-tests

Conversation

@potiuk
Copy link
Member

@potiuk potiuk commented May 27, 2024

This PR adds much easier way to run provider compatibility tests locally. There is no longer need to build provider packages locally to run the tests. Simply run:

breeze shell --use-airflow-version 2.x.y \
  --mount-sources providers-and-tests

This will get the right airflow version and mount provider code and tests appropriately so that you can conveniently iterate with the tests and providers locally and run tests in breeze environment against arbitrary airflow version.


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

@potiuk
Copy link
Member Author

potiuk commented May 27, 2024

cc: @kacpermuda -> this will be way easier to reproduce compatibilty tests (for example with open lineage)

@potiuk potiuk force-pushed the easier-way-to-run-provider-compatibility-tests branch from 899563a to 113b04d Compare May 27, 2024 17:34
@potiuk potiuk requested review from Taragolis and eladkal May 27, 2024 17:35
@jscheffl jscheffl removed their request for review May 27, 2024 20:09
@jscheffl
Copy link
Contributor

Removed myself from reviewer - have taken a look to the code but I've never been with any releases (yet) and feel I have no clue how to test. I'd pass the reviewer rather to others.

By the way - had the same issue with docker on the Github runner, in my case one retry helped. Do not understand why it fails with the network stuff.

@potiuk potiuk force-pushed the easier-way-to-run-provider-compatibility-tests branch from 113b04d to dcd1036 Compare May 27, 2024 21:24
This PR adds much easier way to run provider compatibility tests
locally. There is no longer need to build provider packages locally
to run the tests. Simply run:

```shell
breeze shell --use-airflow-version 2.x.y \
  --mount-sources providers-and-tests
```

This will get the right airflow version and mount provider code
and tests appropriately so that you can conveniently iterate with
the tests and providers locally and run tests in breeze environment
against arbitrary airflow version.
@potiuk potiuk force-pushed the easier-way-to-run-provider-compatibility-tests branch from dcd1036 to 3113f08 Compare May 27, 2024 21:26
@potiuk potiuk merged commit 358830d into apache:main May 28, 2024
@potiuk potiuk deleted the easier-way-to-run-provider-compatibility-tests branch May 28, 2024 04:05
@utkarsharma2 utkarsharma2 added the type:misc/internal Changelog: Misc changes that should appear in change log label Jun 3, 2024
@utkarsharma2 utkarsharma2 added this to the Airflow 2.10.0 milestone Jun 3, 2024
fdemiane pushed a commit to fdemiane/airflow that referenced this pull request Jun 6, 2024
This PR adds much easier way to run provider compatibility tests
locally. There is no longer need to build provider packages locally
to run the tests. Simply run:

```shell
breeze shell --use-airflow-version 2.x.y \
  --mount-sources providers-and-tests
```

This will get the right airflow version and mount provider code
and tests appropriately so that you can conveniently iterate with
the tests and providers locally and run tests in breeze environment
against arbitrary airflow version.
romsharon98 pushed a commit to romsharon98/airflow that referenced this pull request Jul 26, 2024
This PR adds much easier way to run provider compatibility tests
locally. There is no longer need to build provider packages locally
to run the tests. Simply run:

```shell
breeze shell --use-airflow-version 2.x.y \
  --mount-sources providers-and-tests
```

This will get the right airflow version and mount provider code
and tests appropriately so that you can conveniently iterate with
the tests and providers locally and run tests in breeze environment
against arbitrary airflow version.
@ephraimbuddy ephraimbuddy removed the type:misc/internal Changelog: Misc changes that should appear in change log label Aug 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants