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 2020/10/23 12:20:56 UTC

[airflow] branch master updated: Add test types displayed in CI (#11770)

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

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


The following commit(s) were added to refs/heads/master by this push:
     new cca5d63  Add test types displayed in CI (#11770)
cca5d63 is described below

commit cca5d63186bc09def05a9180003dce9d17172640
Author: Jarek Potiuk <ja...@polidea.com>
AuthorDate: Fri Oct 23 14:19:40 2020 +0200

    Add test types displayed in CI (#11770)
    
    This is a follow up after #11659. Thanks to this one, it will
    be immediately visible in CI which types of tests are run.
    
    This change has been lost during one of the rebases, so it is
    brought back now.
---
 .github/workflows/ci.yml | 24 ++++++++++++++----------
 1 file changed, 14 insertions(+), 10 deletions(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 529c3dc..68506e6 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -427,7 +427,9 @@ jobs:
 
   tests-postgres:
     timeout-minutes: 60
-    name: "Postgres${{matrix.postgres-version}},Py${{matrix.python-version}}"
+    name: >
+      Postgres${{matrix.postgres-version}},Py${{matrix.python-version}}:
+      ${{needs.build-info.outputs.testTypes}}
     runs-on: ubuntu-latest
     needs: [build-info, ci-images]
     strategy:
@@ -441,7 +443,7 @@ jobs:
       PYTHON_MAJOR_MINOR_VERSION: ${{ matrix.python-version }}
       POSTGRES_VERSION: ${{ matrix.postgres-version }}
       RUN_TESTS: true
-      TEST_TYPES: ${{needs.build-info.outputs.testTypes}}
+      TEST_TYPES: "${{needs.build-info.outputs.testTypes}}"
       TEST_TYPE: ""
     if: >
         needs.build-info.outputs.run-tests == 'true' &&
@@ -457,7 +459,7 @@ jobs:
         run: ./scripts/ci/tools/ci_free_space_on_ci.sh
       - name: "Prepare CI image ${{env.PYTHON_MAJOR_MINOR_VERSION}}:${{ env.GITHUB_REGISTRY_PULL_IMAGE_TAG }}"
         run: ./scripts/ci/images/ci_prepare_ci_image_on_ci.sh
-      - name: "Tests"
+      - name: "Tests: ${{needs.build-info.outputs.testTypes}}"
         run: ./scripts/ci/testing/ci_run_airflow_testing.sh
       - name: "Upload airflow logs"
         uses: actions/upload-artifact@v2
@@ -480,7 +482,8 @@ jobs:
 
   tests-mysql:
     timeout-minutes: 60
-    name: "MySQL${{matrix.mysql-version}}, Py${{matrix.python-version}}"
+    name: >
+      MySQL${{matrix.mysql-version}}, Py${{matrix.python-version}}: ${{needs.build-info.outputs.testTypes}}
     runs-on: ubuntu-latest
     needs: [build-info, ci-images]
     strategy:
@@ -494,7 +497,7 @@ jobs:
       PYTHON_MAJOR_MINOR_VERSION: ${{ matrix.python-version }}
       MYSQL_VERSION: ${{ matrix.mysql-version }}
       RUN_TESTS: true
-      TEST_TYPES: ${{needs.build-info.outputs.testTypes}}
+      TEST_TYPES: "${{needs.build-info.outputs.testTypes}}"
       TEST_TYPE: ""
     if: >
         needs.build-info.outputs.run-tests == 'true' &&
@@ -510,7 +513,7 @@ jobs:
         run: ./scripts/ci/tools/ci_free_space_on_ci.sh
       - name: "Prepare CI image ${{env.PYTHON_MAJOR_MINOR_VERSION}}:${{ env.GITHUB_REGISTRY_PULL_IMAGE_TAG }}"
         run: ./scripts/ci/images/ci_prepare_ci_image_on_ci.sh
-      - name: "Tests"
+      - name: "Tests: ${{needs.build-info.outputs.testTypes}}"
         run: ./scripts/ci/testing/ci_run_airflow_testing.sh
       - name: "Upload airflow logs"
         uses: actions/upload-artifact@v2
@@ -532,7 +535,8 @@ jobs:
 
   tests-sqlite:
     timeout-minutes: 60
-    name: "Sqlite Py${{matrix.python-version}}"
+    name: >
+      Sqlite Py${{matrix.python-version}}: ${{needs.build-info.outputs.testTypes}}
     runs-on: ubuntu-latest
     needs: [build-info, ci-images]
     strategy:
@@ -544,7 +548,7 @@ jobs:
       BACKEND: sqlite
       PYTHON_MAJOR_MINOR_VERSION: ${{ matrix.python-version }}
       RUN_TESTS: true
-      TEST_TYPES: ${{needs.build-info.outputs.testTypes}}
+      TEST_TYPES: "${{needs.build-info.outputs.testTypes}}"
       TEST_TYPE: ""
     if: >
         needs.build-info.outputs.run-tests == 'true' &&
@@ -560,7 +564,7 @@ jobs:
         run: ./scripts/ci/tools/ci_free_space_on_ci.sh
       - name: "Prepare CI image ${{env.PYTHON_MAJOR_MINOR_VERSION}}:${{ env.GITHUB_REGISTRY_PULL_IMAGE_TAG }}"
         run: ./scripts/ci/images/ci_prepare_ci_image_on_ci.sh
-      - name: "Tests"
+      - name: "Tests: ${{needs.build-info.outputs.testTypes}}"
         run: ./scripts/ci/testing/ci_run_airflow_testing.sh
       - name: "Upload airflow logs"
         uses: actions/upload-artifact@v2
@@ -628,7 +632,7 @@ jobs:
         run: ./scripts/ci/tools/ci_free_space_on_ci.sh
       - name: "Prepare CI image ${{env.PYTHON_MAJOR_MINOR_VERSION}}:${{ env.GITHUB_REGISTRY_PULL_IMAGE_TAG }}"
         run: ./scripts/ci/images/ci_prepare_ci_image_on_ci.sh
-      - name: "Tests"
+      - name: "Tests: Quarantined"
         run: ./scripts/ci/testing/ci_run_airflow_testing.sh
       - name: "Upload Quarantine test results"
         uses: actions/upload-artifact@v2