You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ma...@apache.org on 2024/04/04 17:31:50 UTC
(superset) 02/02: no-op and checks
This is an automated email from the ASF dual-hosted git repository.
maximebeauchemin pushed a commit to branch no-op
in repository https://gitbox.apache.org/repos/asf/superset.git
commit a856266c8343c955150e188cecb15dd07ae6f6bf
Author: Maxime Beauchemin <ma...@gmail.com>
AuthorDate: Thu Apr 4 10:31:32 2024 -0700
no-op and checks
---
.asf.yaml | 17 ++++----
.github/workflows/no-op.yml | 103 +++++++++++++++++++++++++-------------------
2 files changed, 66 insertions(+), 54 deletions(-)
diff --git a/.asf.yaml b/.asf.yaml
index 9b2bfae806..106a9c39b7 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -67,15 +67,14 @@ github:
- cypress-matrix (2, chrome)
- cypress-matrix (3, chrome)
- frontend-build
- - pre-commit (3.10)
- - python-lint (3.10)
- - test-mysql (3.10)
- - test-postgres (3.10)
- - test-postgres (3.11)
- - test-postgres-hive (3.10)
- - test-postgres-presto (3.10)
- - test-sqlite (3.10)
- - unit-tests (3.10)
+ - pre-commit
+ - python-lint
+ - test-mysql
+ - test-postgres
+ - test-postgres-hive
+ - test-postgres-presto
+ - test-sqlite
+ - unit-tests
required_pull_request_reviews:
dismiss_stale_reviews: false
diff --git a/.github/workflows/no-op.yml b/.github/workflows/no-op.yml
index 9cc9e8bec3..8927474d17 100644
--- a/.github/workflows/no-op.yml
+++ b/.github/workflows/no-op.yml
@@ -26,89 +26,102 @@ jobs:
frontend-build:
runs-on: ubuntu-latest
steps:
- - name: No-op for frontend-build
- run: |
- echo "This is a no-op step for frontend-build to ensure a successful status."
- exit 0
-
+ - run: exit 0
+# ------------------------------------
+# DE-COMMENT POST MERGING
+# ------------------------------------
+#
+# pre-commit:
+# runs-on: ubuntu-latest
+# steps:
+# - run: exit 0
+# python-lint:
+# runs-on: ubuntu-latest
+# steps:
+# - run: exit 0
+# test-postgres-hive:
+# runs-on: ubuntu-latest
+# steps:
+# - run: exit 0
+# test-postgres-presto:
+# runs-on: ubuntu-latest
+# steps:
+# - run: exit 0
+# unit-tests:
+# runs-on: ubuntu-latest
+# steps:
+# - run: exit 0
+# test-mysql:
+# runs-on: ubuntu-latest
+# steps:
+# - run: exit 0
+# test-postgres:
+# runs-on: ubuntu-latest
+# steps:
+# - run: exit 0
+# test-sqlite:
+# runs-on: ubuntu-latest
+# steps:
+# - run: exit 0
+## ------------------------------------------------------
+## TO BE DEPRECATED
+## These no-ops were used to deprecate/renaming checks
+## and can be safely delete if seen on `master`
+## ------------------------------------------------------
pre-commit:
strategy:
matrix:
- python-version: ["3.9"]
+ python-version: ["3.9", "3.10", ""]
runs-on: ubuntu-latest
steps:
- - name: No-op for pre-commit
- run: |
- echo "This is a no-op step for pre-commit to ensure a successful status."
- exit 0
+ - run: exit 0
python-lint:
strategy:
matrix:
- python-version: ["3.9", "3.10"]
+ python-version: ["3.9", "3.10", ""]
runs-on: ubuntu-latest
steps:
- - name: No-op for python-lint
- run: |
- echo "This is a no-op step for python-lint to ensure a successful status."
- exit 0
+ - run: exit 0
test-postgres-hive:
strategy:
matrix:
- python-version: ["3.9", "3.10"]
+ python-version: ["3.9", "3.10", ""]
runs-on: ubuntu-latest
steps:
- - name: No-op for frontend-build
- run: |
- echo "This is a no-op step for test-postgres-postgres to ensure a successful status when skipped."
- exit 0
+ - run: exit 0
test-postgres-presto:
strategy:
matrix:
- python-version: ["3.9", "3.10"]
+ python-version: ["3.9", "3.10", ""]
runs-on: ubuntu-latest
steps:
- - name: No-op for frontend-build
- run: |
- echo "This is a no-op step for test-postgres-postgres to ensure a successful status when skipped."
- exit 0
+ - run: exit 0
unit-tests:
strategy:
matrix:
- python-version: ["3.9", "3.10"]
+ python-version: ["3.9", "3.10", ""]
runs-on: ubuntu-latest
steps:
- - name: No-op for frontend-build
- run: |
- echo "This is a no-op step for unit-tests to ensure a successful status when skipped."
- exit 0
+ - run: exit 0
test-mysql:
strategy:
matrix:
- python-version: ["3.9"]
+ python-version: ["3.9", "3.10", ""]
runs-on: ubuntu-latest
steps:
- - name: No-op for test-mysql
- run: |
- echo "This is a no-op step for test-mysql to ensure a successful status when skipped."
- exit 0
+ - run: exit 0
test-postgres:
strategy:
matrix:
- python-version: ["3.9"]
+ python-version: ["3.9", "3.10", ""]
runs-on: ubuntu-latest
steps:
- - name: No-op for test-postgres
- run: |
- echo "This is a no-op step for test-postgres to ensure a successful status when skipped."
- exit 0
+ - run: exit 0
test-sqlite:
strategy:
matrix:
- python-version: ["3.9"]
+ python-version: ["3.9", "3.10", ""]
runs-on: ubuntu-latest
steps:
- - name: No-op for test-sqlite
- run: |
- echo "This is a no-op step for test-sqlite to ensure a successful status when skipped."
- exit 0
+ - run: exit 0