@@ -810,7 +810,7 @@ jobs:
810810 uses : ./.github/actions/prepare_breeze_and_image
811811 - name : " Migration Tests: ${{matrix.python-version}}:${{needs.build-info.outputs.test-types}}"
812812 uses : ./.github/actions/migration_tests
813- - name : " Tests: ${{matrix.python-version}}:${{needs.build-info.outputs.test-types}}"
813+ - name : " Tests: ${{matrix.python-version}}:${{needs.build-info.outputs.test-types}} (w/Kerberos) "
814814 run : breeze testing tests --run-in-parallel
815815 - name : " Post Tests: ${{matrix.python-version}}:${{needs.build-info.outputs.test-types}}"
816816 uses : ./.github/actions/post_tests
@@ -938,6 +938,104 @@ jobs:
938938 - name : " Post Tests: ${{matrix.python-version}}:${{needs.build-info.outputs.test-types}}"
939939 uses : ./.github/actions/post_tests
940940
941+ tests-integration-postgres :
942+ timeout-minutes : 130
943+ name : Integration Tests Postgres
944+ runs-on : " ${{needs.build-info.outputs.runs-on}}"
945+ needs : [build-info, wait-for-ci-images]
946+ env :
947+ RUNS_ON : " ${{needs.build-info.outputs.runs-on}}"
948+ TEST_TYPES : " ${{needs.build-info.outputs.test-types}}"
949+ PR_LABELS : " ${{needs.build-info.outputs.pull-request-labels}}"
950+ FULL_TESTS_NEEDED : " ${{needs.build-info.outputs.full-tests-needed}}"
951+ DEBUG_RESOURCES : " ${{needs.build-info.outputs.debug-resources}}"
952+ BACKEND : " postgres"
953+ PYTHON_MAJOR_MINOR_VERSION : " ${{needs.build-info.outputs.default-python-version}}"
954+ POSTGRES_VERSION : " ${{needs.build-info.outputs.default-postgres-version}}"
955+ BACKEND_VERSION : " ${{needs.build-info.outputs.default-python-version}}"
956+ JOB_ID : " integration"
957+ COVERAGE : " ${{needs.build-info.outputs.run-coverage}}"
958+ if : needs.build-info.outputs.run-tests == 'true' && needs.build-info.outputs.default-branch == 'main'
959+ steps :
960+ - name : Cleanup repo
961+ shell : bash
962+ run : docker run -v "${GITHUB_WORKSPACE}:/workspace" -u 0:0 bash -c "rm -rf /workspace/*"
963+ - name : " Checkout ${{ github.ref }} ( ${{ github.sha }} )"
964+ uses : actions/checkout@v3
965+ with :
966+ persist-credentials : false
967+ - name : " Prepare breeze & CI image: ${{env.PYTHON_MAJOR_MINOR_VERSION}}:${{env.IMAGE_TAG}}"
968+ uses : ./.github/actions/prepare_breeze_and_image
969+ - name : " Integration Tests Postgres: cassandra"
970+ run : |
971+ breeze testing integration-tests --integration cassandra
972+ breeze stop
973+ if : needs.build-info.outputs.runs-on != 'self-hosted'
974+ - name : " Integration Tests Postgres: mongo"
975+ run : |
976+ breeze testing integration-tests --integration mongo
977+ breeze stop
978+ if : needs.build-info.outputs.runs-on != 'self-hosted'
979+ - name : " Integration Tests Postgres: pinot"
980+ run : |
981+ breeze testing integration-tests --integration pinot
982+ breeze stop
983+ if : needs.build-info.outputs.runs-on != 'self-hosted'
984+ - name : " Integration Tests Postgres: celery"
985+ run : |
986+ breeze testing integration-tests --integration celery
987+ breeze stop
988+ if : needs.build-info.outputs.runs-on != 'self-hosted'
989+ - name : " Integration Tests Postgres: trino, kerberos"
990+ run : |
991+ breeze testing integration-tests --integration trino --integration kerberos
992+ breeze stop
993+ if : needs.build-info.outputs.runs-on != 'self-hosted'
994+ - name : " Integration Tests Postgres: all"
995+ run : breeze testing integration-tests --integration all
996+ if : needs.build-info.outputs.runs-on == 'self-hosted'
997+ - name : " Post Tests: ${{matrix.python-version}}:${{needs.build-info.outputs.test-types}}"
998+ uses : ./.github/actions/post_tests
999+
1000+ tests-integration-mysql :
1001+ timeout-minutes : 130
1002+ name : Integration Tests MySQL
1003+ runs-on : " ${{needs.build-info.outputs.runs-on}}"
1004+ needs : [build-info, wait-for-ci-images]
1005+ env :
1006+ RUNS_ON : " ${{needs.build-info.outputs.runs-on}}"
1007+ TEST_TYPES : " ${{needs.build-info.outputs.test-types}}"
1008+ PR_LABELS : " ${{needs.build-info.outputs.pull-request-labels}}"
1009+ FULL_TESTS_NEEDED : " ${{needs.build-info.outputs.full-tests-needed}}"
1010+ DEBUG_RESOURCES : " ${{needs.build-info.outputs.debug-resources}}"
1011+ BACKEND : " postgres"
1012+ PYTHON_MAJOR_MINOR_VERSION : " ${{needs.build-info.outputs.default-python-version}}"
1013+ POSTGRES_VERSION : " ${{needs.build-info.outputs.default-postgres-version}}"
1014+ BACKEND_VERSION : " ${{needs.build-info.outputs.default-python-version}}"
1015+ JOB_ID : " integration"
1016+ COVERAGE : " ${{needs.build-info.outputs.run-coverage}}"
1017+ if : needs.build-info.outputs.run-tests == 'true' && needs.build-info.outputs.default-branch == 'main'
1018+ steps :
1019+ - name : Cleanup repo
1020+ shell : bash
1021+ run : docker run -v "${GITHUB_WORKSPACE}:/workspace" -u 0:0 bash -c "rm -rf /workspace/*"
1022+ if : needs.build-info.outputs.runs-on == 'self-hosted'
1023+ - name : " Checkout ${{ github.ref }} ( ${{ github.sha }} )"
1024+ uses : actions/checkout@v3
1025+ with :
1026+ persist-credentials : false
1027+ if : needs.build-info.outputs.runs-on == 'self-hosted'
1028+ - name : " Prepare breeze & CI image: ${{env.PYTHON_MAJOR_MINOR_VERSION}}:${{env.IMAGE_TAG}}"
1029+ uses : ./.github/actions/prepare_breeze_and_image
1030+ if : needs.build-info.outputs.runs-on == 'self-hosted'
1031+ - name : " Integration Tests MySQL: all"
1032+ run : breeze testing integration-tests --integration all
1033+ if : needs.build-info.outputs.runs-on == 'self-hosted'
1034+ - name : " Post Tests: ${{matrix.python-version}}:${{needs.build-info.outputs.test-types}}"
1035+ uses : ./.github/actions/post_tests
1036+ if : needs.build-info.outputs.runs-on == 'self-hosted'
1037+
1038+
9411039 tests-quarantined :
9421040 timeout-minutes : 60
9431041 name : " Quarantined tests"
@@ -985,6 +1083,8 @@ jobs:
9851083 - tests-mysql
9861084 - tests-mssql
9871085 - tests-quarantined
1086+ - tests-integration-postgres
1087+ - tests-integration-mysql
9881088 env :
9891089 RUNS_ON : " ${{needs.build-info.outputs.runs-on}}"
9901090 # Only upload coverage on merges to main
@@ -1019,6 +1119,8 @@ jobs:
10191119 - tests-mysql
10201120 - tests-mssql
10211121 - tests-quarantined
1122+ - tests-integration-postgres
1123+ - tests-integration-mysql
10221124 env :
10231125 RUNS_ON : " ${{needs.build-info.outputs.runs-on}}"
10241126 steps :
@@ -1180,6 +1282,8 @@ jobs:
11801282 - tests-mysql
11811283 - tests-mssql
11821284 - tests-postgres
1285+ - tests-integration-postgres
1286+ - tests-integration-mysql
11831287 - push-early-buildx-cache-to-github-registry
11841288 env :
11851289 RUNS_ON : " ${{needs.build-info.outputs.runs-on}}"
@@ -1340,6 +1444,8 @@ jobs:
13401444 - tests-mysql
13411445 - tests-mssql
13421446 - tests-postgres
1447+ - tests-integration-postgres
1448+ - tests-integration-mysql
13431449 env :
13441450 DEFAULT_BRANCH : ${{ needs.build-info.outputs.default-branch }}
13451451 DEFAULT_CONSTRAINTS_BRANCH : ${{ needs.build-info.outputs.default-constraints-branch }}
0 commit comments