Skip to content

Commit cca5d63

Browse files
authored
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.
1 parent 28229e9 commit cca5d63

File tree

1 file changed

+14
-10
lines changed

1 file changed

+14
-10
lines changed

.github/workflows/ci.yml

+14-10
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,9 @@ jobs:
427427

428428
tests-postgres:
429429
timeout-minutes: 60
430-
name: "Postgres${{matrix.postgres-version}},Py${{matrix.python-version}}"
430+
name: >
431+
Postgres${{matrix.postgres-version}},Py${{matrix.python-version}}:
432+
${{needs.build-info.outputs.testTypes}}
431433
runs-on: ubuntu-latest
432434
needs: [build-info, ci-images]
433435
strategy:
@@ -441,7 +443,7 @@ jobs:
441443
PYTHON_MAJOR_MINOR_VERSION: ${{ matrix.python-version }}
442444
POSTGRES_VERSION: ${{ matrix.postgres-version }}
443445
RUN_TESTS: true
444-
TEST_TYPES: ${{needs.build-info.outputs.testTypes}}
446+
TEST_TYPES: "${{needs.build-info.outputs.testTypes}}"
445447
TEST_TYPE: ""
446448
if: >
447449
needs.build-info.outputs.run-tests == 'true' &&
@@ -457,7 +459,7 @@ jobs:
457459
run: ./scripts/ci/tools/ci_free_space_on_ci.sh
458460
- name: "Prepare CI image ${{env.PYTHON_MAJOR_MINOR_VERSION}}:${{ env.GITHUB_REGISTRY_PULL_IMAGE_TAG }}"
459461
run: ./scripts/ci/images/ci_prepare_ci_image_on_ci.sh
460-
- name: "Tests"
462+
- name: "Tests: ${{needs.build-info.outputs.testTypes}}"
461463
run: ./scripts/ci/testing/ci_run_airflow_testing.sh
462464
- name: "Upload airflow logs"
463465
uses: actions/upload-artifact@v2
@@ -480,7 +482,8 @@ jobs:
480482

481483
tests-mysql:
482484
timeout-minutes: 60
483-
name: "MySQL${{matrix.mysql-version}}, Py${{matrix.python-version}}"
485+
name: >
486+
MySQL${{matrix.mysql-version}}, Py${{matrix.python-version}}: ${{needs.build-info.outputs.testTypes}}
484487
runs-on: ubuntu-latest
485488
needs: [build-info, ci-images]
486489
strategy:
@@ -494,7 +497,7 @@ jobs:
494497
PYTHON_MAJOR_MINOR_VERSION: ${{ matrix.python-version }}
495498
MYSQL_VERSION: ${{ matrix.mysql-version }}
496499
RUN_TESTS: true
497-
TEST_TYPES: ${{needs.build-info.outputs.testTypes}}
500+
TEST_TYPES: "${{needs.build-info.outputs.testTypes}}"
498501
TEST_TYPE: ""
499502
if: >
500503
needs.build-info.outputs.run-tests == 'true' &&
@@ -510,7 +513,7 @@ jobs:
510513
run: ./scripts/ci/tools/ci_free_space_on_ci.sh
511514
- name: "Prepare CI image ${{env.PYTHON_MAJOR_MINOR_VERSION}}:${{ env.GITHUB_REGISTRY_PULL_IMAGE_TAG }}"
512515
run: ./scripts/ci/images/ci_prepare_ci_image_on_ci.sh
513-
- name: "Tests"
516+
- name: "Tests: ${{needs.build-info.outputs.testTypes}}"
514517
run: ./scripts/ci/testing/ci_run_airflow_testing.sh
515518
- name: "Upload airflow logs"
516519
uses: actions/upload-artifact@v2
@@ -532,7 +535,8 @@ jobs:
532535

533536
tests-sqlite:
534537
timeout-minutes: 60
535-
name: "Sqlite Py${{matrix.python-version}}"
538+
name: >
539+
Sqlite Py${{matrix.python-version}}: ${{needs.build-info.outputs.testTypes}}
536540
runs-on: ubuntu-latest
537541
needs: [build-info, ci-images]
538542
strategy:
@@ -544,7 +548,7 @@ jobs:
544548
BACKEND: sqlite
545549
PYTHON_MAJOR_MINOR_VERSION: ${{ matrix.python-version }}
546550
RUN_TESTS: true
547-
TEST_TYPES: ${{needs.build-info.outputs.testTypes}}
551+
TEST_TYPES: "${{needs.build-info.outputs.testTypes}}"
548552
TEST_TYPE: ""
549553
if: >
550554
needs.build-info.outputs.run-tests == 'true' &&
@@ -560,7 +564,7 @@ jobs:
560564
run: ./scripts/ci/tools/ci_free_space_on_ci.sh
561565
- name: "Prepare CI image ${{env.PYTHON_MAJOR_MINOR_VERSION}}:${{ env.GITHUB_REGISTRY_PULL_IMAGE_TAG }}"
562566
run: ./scripts/ci/images/ci_prepare_ci_image_on_ci.sh
563-
- name: "Tests"
567+
- name: "Tests: ${{needs.build-info.outputs.testTypes}}"
564568
run: ./scripts/ci/testing/ci_run_airflow_testing.sh
565569
- name: "Upload airflow logs"
566570
uses: actions/upload-artifact@v2
@@ -628,7 +632,7 @@ jobs:
628632
run: ./scripts/ci/tools/ci_free_space_on_ci.sh
629633
- name: "Prepare CI image ${{env.PYTHON_MAJOR_MINOR_VERSION}}:${{ env.GITHUB_REGISTRY_PULL_IMAGE_TAG }}"
630634
run: ./scripts/ci/images/ci_prepare_ci_image_on_ci.sh
631-
- name: "Tests"
635+
- name: "Tests: Quarantined"
632636
run: ./scripts/ci/testing/ci_run_airflow_testing.sh
633637
- name: "Upload Quarantine test results"
634638
uses: actions/upload-artifact@v2

0 commit comments

Comments
 (0)