You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by po...@apache.org on 2022/12/06 17:58:14 UTC

[airflow] branch main updated: Summarize all warnings from all builds (#28151)

This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new 1bb594e99c Summarize all warnings from all builds (#28151)
1bb594e99c is described below

commit 1bb594e99cf0c363eed9736260dcb6201aa010e6
Author: Jarek Potiuk <ja...@potiuk.com>
AuthorDate: Tue Dec 6 18:58:07 2022 +0100

    Summarize all warnings from all builds (#28151)
---
 .github/workflows/ci.yml | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 8985f7da61..87013de0c9 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -1006,6 +1006,39 @@ jobs:
         with:
           directory: "./coverage-files"
 
+  summarize-warnings:
+    timeout-minutes: 15
+    name: "Summarize warnings"
+    runs-on: "${{needs.build-info.outputs.runs-on}}"
+    needs:
+      - build-info
+      - tests-postgres
+      - tests-sqlite
+      - tests-mysql
+      - tests-mssql
+      - tests-quarantined
+    env:
+      RUNS_ON: "${{needs.build-info.outputs.runs-on}}"
+    steps:
+      - name: Cleanup repo
+        run: docker run -v "${GITHUB_WORKSPACE}:/workspace" -u 0:0 bash -c "rm -rf /workspace/*"
+      - name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
+        uses: actions/checkout@v3
+        with:
+          persist-credentials: false
+          submodules: recursive
+      - name: "Download all artifacts from the current build"
+        uses: actions/download-artifact@v3
+        with:
+          path: ./artifacts
+      - name: "Summarize all warnings"
+        run: |
+          ls -R ./artifacts/
+          cat ./artifacts/test-warnings*/* | sort | uniq
+          echo
+          echo Total number of unique warnings $(cat ./artifacts/test-warnings*/* | sort | uniq | wc -l)
+
+
   wait-for-prod-images:
     timeout-minutes: 120
     name: "Wait for PROD images"