Skip to content

Add Airflow 3 tests matrix entry#1646

Merged
pankajastro merged 37 commits into
mainfrom
add-airflow-3-test-matrix-entry
Apr 28, 2025
Merged

Add Airflow 3 tests matrix entry#1646
pankajastro merged 37 commits into
mainfrom
add-airflow-3-test-matrix-entry

Conversation

@pankajkoti
Copy link
Copy Markdown
Contributor

@pankajkoti pankajkoti commented Mar 28, 2025

This PR adds Airflow 3 matrix entries to the various tests that we run in our CI including unit, integration, dbt-async, performance and k8s tests.

It also makes tweaks to the setup scripts for airflow version specific db commands. Since, "airflow db init" no longer works with Airflow 3, the PR replaces its usage with airflow db migrate along with needed refactoring to those scripts.

While the PR attempts to fix few of the failing tests to add compatibility for Airflow 3, I am skipping remaining failing tests to be run on Airflow 3. I have created independent issues to resolve each of them and have also added TODO comments linking to those issues in the TODO comment.

related: #1631

@netlify
Copy link
Copy Markdown

netlify Bot commented Mar 28, 2025

Deploy Preview for sunny-pastelito-5ecb04 canceled.

Name Link
🔨 Latest commit b09a4b1
🔍 Latest deploy log https://app.netlify.com/sites/sunny-pastelito-5ecb04/deploys/680f7f21627c240008f7eeed

@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 28, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.50%. Comparing base (eb12d4a) to head (b09a4b1).
Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1646      +/-   ##
==========================================
+ Coverage   97.44%   97.50%   +0.05%     
==========================================
  Files          83       83              
  Lines        5049     5049              
==========================================
+ Hits         4920     4923       +3     
+ Misses        129      126       -3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@pankajkoti pankajkoti force-pushed the add-airflow-3-test-matrix-entry branch from 90773c6 to 32b56de Compare March 28, 2025 07:18
@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented Mar 28, 2025

Deploying astronomer-cosmos with  Cloudflare Pages  Cloudflare Pages

Latest commit: b09a4b1
Status: ✅  Deploy successful!
Preview URL: https://9fcc87d8.astronomer-cosmos.pages.dev
Branch Preview URL: https://add-airflow-3-test-matrix-en.astronomer-cosmos.pages.dev

View logs

@pankajkoti pankajkoti force-pushed the add-airflow-3-test-matrix-entry branch from 32b56de to 0d1a729 Compare March 28, 2025 07:33
@tatiana tatiana added this to the Cosmos 1.10.0 milestone Apr 22, 2025
@pankajkoti pankajkoti force-pushed the add-airflow-3-test-matrix-entry branch from 8110849 to 29c9508 Compare April 25, 2025 09:46
Comment thread .github/workflows/test.yml Outdated
Comment thread scripts/test/pre-install-airflow.sh Outdated
Comment thread scripts/test/pre-install-airflow.sh Outdated
Comment thread scripts/test/pre-install-airflow.sh Outdated
@pankajkoti
Copy link
Copy Markdown
Contributor Author

There was an issue at GitHub's end while this PR was getting merged and as a result the changes might not be visible in the "Files Changed" tab for this PR. To refer to the changes in this PR, please have a look at the merged commit 1585473

@pankajkoti pankajkoti mentioned this pull request Apr 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:ci Related to CI, Github Actions, or other continuous integration tools area:testing Related to testing, like unit tests, integration tests, etc size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants