This is an automated email from the ASF dual-hosted git repository.
eladkal pushed a commit to branch v2-6-test
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/v2-6-test by this push:
new 3f5a5650a7 Only run mssql tests on self-hosted runners (#30831)
3f5a5650a7 is described below
commit 3f5a5650a70d79f64c1c1ed4bbc5690138ec1887
Author: Jarek Potiuk <[email protected]>
AuthorDate: Mon Apr 24 09:46:25 2023 +0200
Only run mssql tests on self-hosted runners (#30831)
The MSSQL tests are rather flaky on public runners. They also
almost never bring any extra value when fail usually those are
flaky behaviour of MSSQL database for those runners due to
resource constraints.
This PR changes MSSQL tests to be only run for self-hosted runners,
which means that they will be run for PRs of committers and in
canary builds.
This should be enough to find out potentially mssql-only breaking
changes and fix them - without disturbing regular contributors.
(cherry picked from commit 6e80bcd463a701b30ce42f4499ea45d4c4e47972)
---
.github/workflows/ci.yml | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index e95fb492f2..d1845680f0 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -1054,7 +1054,7 @@ jobs:
BACKEND_VERSION: "${{matrix.mssql-version}}"
JOB_ID: "mssql-${{matrix.mssql-version}}-${{matrix.python-version}}"
COVERAGE: "${{needs.build-info.outputs.run-coverage}}"
- if: needs.build-info.outputs.run-tests == 'true'
+ if: needs.build-info.outputs.run-tests == 'true' &&
needs.build-info.outputs.runs-on == 'self-hosted'
steps:
- name: Cleanup repo
shell: bash
@@ -1256,7 +1256,6 @@ jobs:
- tests-postgres
- tests-sqlite
- tests-mysql
- - tests-mssql
- tests-quarantined
- tests-integration-postgres
- tests-integration-mysql
@@ -1421,7 +1420,6 @@ jobs:
- static-checks
- tests-sqlite
- tests-mysql
- - tests-mssql
- tests-postgres
- tests-integration-postgres
- tests-integration-mysql
@@ -1584,7 +1582,6 @@ jobs:
- static-checks
- tests-sqlite
- tests-mysql
- - tests-mssql
- tests-postgres
- tests-integration-postgres
- tests-integration-mysql