From c5e85445b8f1edd97c767125427b6cfe46618b03 Mon Sep 17 00:00:00 2001 From: Pankaj Koti Date: Thu, 19 Sep 2024 16:08:45 +0530 Subject: [PATCH] Fix CI wrt broken coverage upload artifact (#1210) Apparently the GitHub action https://github.com/actions/upload-artifact released a breaking change https://github.com/actions/upload-artifact/issues/602 (not following semver guidelines) which is affecting our CodeCov job as it's no longer able to download artifacts that were supposed to be uploaded from our tests in earlier jobs in the CI. According to suggestion in https://github.com/actions/upload-artifact/pull/607/files, set include include-hidden-files: true, so that our workflow continues to work as it was before. --- .github/workflows/test.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 278265715..b0c33dfc6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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'