From b6805b09639c7db41ddb59dac4bb6bd7cef6c3d9 Mon Sep 17 00:00:00 2001 From: Pankaj Koti Date: Thu, 19 Sep 2024 16:05:17 +0530 Subject: [PATCH 1/2] Fix CI wrt broken coverage upload artifact (cherry picked from commit 1851bb177ef3b6de9aed08a98d5e3f2d624a3701) --- .github/workflows/test.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 278265715..af5e5572f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -2,7 +2,7 @@ name: test on: push: # Run on pushes to the default branch - branches: [main] + branches: [main,ci-fix] pull_request_target: # Also run on pull requests originated from forks branches: [main] @@ -97,6 +97,7 @@ jobs: with: name: coverage-unit-test-${{ matrix.python-version }}-${{ matrix.airflow-version }} path: .coverage + include-hidden-files: true Run-Integration-Tests: needs: Authorize @@ -181,6 +182,7 @@ jobs: with: name: coverage-integration-test-${{ matrix.python-version }}-${{ matrix.airflow-version }} path: .coverage + include-hidden-files: true Run-Integration-Tests-Expensive: needs: Authorize @@ -252,6 +254,7 @@ jobs: with: name: coverage-integration-expensive-test-${{ matrix.python-version }}-${{ matrix.airflow-version }} path: .coverage + include-hidden-files: true env: AIRFLOW_HOME: /home/runner/work/astronomer-cosmos/astronomer-cosmos/ @@ -319,6 +322,7 @@ jobs: with: name: coverage-integration-sqlite-test-${{ matrix.python-version }}-${{ matrix.airflow-version }} path: .coverage + include-hidden-files: true env: AIRFLOW_HOME: /home/runner/work/astronomer-cosmos/astronomer-cosmos/ @@ -395,6 +399,7 @@ jobs: with: name: coverage-integration-dbt-1-5-4-test-${{ matrix.python-version }}-${{ matrix.airflow-version }} path: .coverage + include-hidden-files: true env: AIRFLOW_HOME: /home/runner/work/astronomer-cosmos/astronomer-cosmos/ @@ -538,6 +543,7 @@ jobs: with: name: coverage-integration-kubernetes-test-${{ matrix.python-version }}-${{ matrix.airflow-version }} path: .coverage + include-hidden-files: true Code-Coverage: if: github.event.action != 'labeled' From 5695410255713801ba6c81d9ccd95b5898f86d8d Mon Sep 17 00:00:00 2001 From: Tatiana Al-Chueyr Date: Thu, 19 Sep 2024 11:38:05 +0100 Subject: [PATCH 2/2] Update .github/workflows/test.yml Co-authored-by: Pankaj Koti --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index af5e5572f..b0c33dfc6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -2,7 +2,7 @@ name: test on: push: # Run on pushes to the default branch - branches: [main,ci-fix] + branches: [main] pull_request_target: # Also run on pull requests originated from forks branches: [main]