You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by mi...@apache.org on 2024/03/04 21:21:56 UTC
(superset) branch 4.0 updated: test: Regex
This is an automated email from the ASF dual-hosted git repository.
michaelsmolina pushed a commit to branch 4.0
in repository https://gitbox.apache.org/repos/asf/superset.git
The following commit(s) were added to refs/heads/4.0 by this push:
new 41d6f0291b test: Regex
41d6f0291b is described below
commit 41d6f0291bf52172c0ca20a2bc611e7dad0b04b4
Author: Michael S. Molina <mi...@gmail.com>
AuthorDate: Mon Mar 4 16:21:38 2024 -0500
test: Regex
---
.github/workflows/check_db_migration_confict.yml | 3 ++-
.github/workflows/embedded-sdk-release.yml | 5 +++--
.github/workflows/pre-commit.yml | 3 ++-
.github/workflows/prefer-typescript.yml | 3 ++-
.github/workflows/release.yml | 3 ++-
.github/workflows/superset-cli.yml | 7 ++++---
.github/workflows/superset-e2e.yml | 3 ++-
.github/workflows/superset-python-integrationtest.yml | 15 ++++++++-------
.github/workflows/superset-python-misc.yml | 3 ++-
.github/workflows/superset-python-presto-hive.yml | 11 ++++++-----
.github/workflows/superset-python-unittest.yml | 9 +++++----
.github/workflows/superset-translations.yml | 5 +++--
12 files changed, 41 insertions(+), 29 deletions(-)
diff --git a/.github/workflows/check_db_migration_confict.yml b/.github/workflows/check_db_migration_confict.yml
index 637252ab3b..27369425c7 100644
--- a/.github/workflows/check_db_migration_confict.yml
+++ b/.github/workflows/check_db_migration_confict.yml
@@ -4,7 +4,8 @@ on:
paths:
- "superset/migrations/**"
branches:
- - 'master'
+ - "master"
+ - regex: ^\d+\.\d+$
pull_request:
paths:
- "superset/migrations/**"
diff --git a/.github/workflows/embedded-sdk-release.yml b/.github/workflows/embedded-sdk-release.yml
index 39ee461f6b..3487c766ab 100644
--- a/.github/workflows/embedded-sdk-release.yml
+++ b/.github/workflows/embedded-sdk-release.yml
@@ -3,7 +3,8 @@ name: Embedded SDK Release
on:
push:
branches:
- - 'master'
+ - "master"
+ - regex: ^\d+\.\d+$
jobs:
config:
@@ -31,7 +32,7 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: "16"
- registry-url: 'https://registry.npmjs.org'
+ registry-url: "https://registry.npmjs.org"
- run: npm ci
- run: npm run ci:release
env:
diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml
index 3e2c98970b..d31127ed2c 100644
--- a/.github/workflows/pre-commit.yml
+++ b/.github/workflows/pre-commit.yml
@@ -3,7 +3,8 @@ name: pre-commit checks
on:
push:
branches:
- - 'master'
+ - "master"
+ - regex: ^\d+\.\d+$
pull_request:
types: [synchronize, opened, reopened, ready_for_review]
diff --git a/.github/workflows/prefer-typescript.yml b/.github/workflows/prefer-typescript.yml
index 51abea6f87..617dd97059 100644
--- a/.github/workflows/prefer-typescript.yml
+++ b/.github/workflows/prefer-typescript.yml
@@ -3,7 +3,8 @@ name: Prefer TypeScript
on:
push:
branches:
- - 'master'
+ - "master"
+ - regex: ^\d+\.\d+$
paths:
- "superset-frontend/src/**"
pull_request:
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index e504c93b49..3fbaa38207 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -3,7 +3,8 @@ name: release-workflow
on:
push:
branches:
- - 'master'
+ - "master"
+ - regex: ^\d+\.\d+$
jobs:
config:
diff --git a/.github/workflows/superset-cli.yml b/.github/workflows/superset-cli.yml
index bfe3dedc18..007bdfed48 100644
--- a/.github/workflows/superset-cli.yml
+++ b/.github/workflows/superset-cli.yml
@@ -3,7 +3,8 @@ name: Superset CLI tests
on:
push:
branches:
- - 'master'
+ - "master"
+ - regex: ^\d+\.\d+$
pull_request:
types: [synchronize, opened, reopened, ready_for_review]
@@ -55,8 +56,8 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- cache: 'pip'
- cache-dependency-path: 'requirements/testing.txt'
+ cache: "pip"
+ cache-dependency-path: "requirements/testing.txt"
- name: Install dependencies
if: steps.check.outcome == 'failure'
uses: ./.github/actions/cached-dependencies
diff --git a/.github/workflows/superset-e2e.yml b/.github/workflows/superset-e2e.yml
index 3126b9a6a0..a6a86c37d5 100644
--- a/.github/workflows/superset-e2e.yml
+++ b/.github/workflows/superset-e2e.yml
@@ -3,7 +3,8 @@ name: E2E
on:
push:
branches:
- - 'master'
+ - "master"
+ - regex: ^\d+\.\d+$
pull_request:
types: [synchronize, opened, reopened, ready_for_review]
diff --git a/.github/workflows/superset-python-integrationtest.yml b/.github/workflows/superset-python-integrationtest.yml
index 385edf89b5..222a5c1bbf 100644
--- a/.github/workflows/superset-python-integrationtest.yml
+++ b/.github/workflows/superset-python-integrationtest.yml
@@ -4,7 +4,8 @@ name: Python-Integration
on:
push:
branches:
- - 'master'
+ - "master"
+ - regex: ^\d+\.\d+$
pull_request:
types: [synchronize, opened, reopened, ready_for_review]
@@ -54,8 +55,8 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- cache: 'pip'
- cache-dependency-path: 'requirements/testing.txt'
+ cache: "pip"
+ cache-dependency-path: "requirements/testing.txt"
- name: Install dependencies
if: steps.check.outcome == 'failure'
uses: ./.github/actions/cached-dependencies
@@ -120,8 +121,8 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- cache: 'pip'
- cache-dependency-path: 'requirements/testing.txt'
+ cache: "pip"
+ cache-dependency-path: "requirements/testing.txt"
- name: Install dependencies
if: steps.check.outcome == 'failure'
uses: ./.github/actions/cached-dependencies
@@ -180,8 +181,8 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- cache: 'pip'
- cache-dependency-path: 'requirements/testing.txt'
+ cache: "pip"
+ cache-dependency-path: "requirements/testing.txt"
- name: Install dependencies
if: steps.check.outcome == 'failure'
uses: ./.github/actions/cached-dependencies
diff --git a/.github/workflows/superset-python-misc.yml b/.github/workflows/superset-python-misc.yml
index eb5da6f18f..46a2e22ce0 100644
--- a/.github/workflows/superset-python-misc.yml
+++ b/.github/workflows/superset-python-misc.yml
@@ -4,7 +4,8 @@ name: Python Misc
on:
push:
branches:
- - 'master'
+ - "master"
+ - regex: ^\d+\.\d+$
paths:
- "superset/**"
pull_request:
diff --git a/.github/workflows/superset-python-presto-hive.yml b/.github/workflows/superset-python-presto-hive.yml
index 57d4e05414..33529a4d5c 100644
--- a/.github/workflows/superset-python-presto-hive.yml
+++ b/.github/workflows/superset-python-presto-hive.yml
@@ -4,7 +4,8 @@ name: Python Presto/Hive
on:
push:
branches:
- - 'master'
+ - "master"
+ - regex: ^\d+\.\d+$
paths:
- "superset/**"
pull_request:
@@ -70,8 +71,8 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- cache: 'pip'
- cache-dependency-path: 'requirements/testing.txt'
+ cache: "pip"
+ cache-dependency-path: "requirements/testing.txt"
- name: Install dependencies
if: steps.check.outcome == 'failure'
uses: ./.github/actions/cached-dependencies
@@ -147,8 +148,8 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- cache: 'pip'
- cache-dependency-path: 'requirements/testing.txt'
+ cache: "pip"
+ cache-dependency-path: "requirements/testing.txt"
- name: Install dependencies
if: steps.check.outcome == 'failure'
uses: ./.github/actions/cached-dependencies
diff --git a/.github/workflows/superset-python-unittest.yml b/.github/workflows/superset-python-unittest.yml
index 548f128eac..f8113a4bbe 100644
--- a/.github/workflows/superset-python-unittest.yml
+++ b/.github/workflows/superset-python-unittest.yml
@@ -4,7 +4,8 @@ name: Python-Unit
on:
push:
branches:
- - 'master'
+ - "master"
+ - regex: ^\d+\.\d+$
paths:
- "superset/**"
pull_request:
@@ -43,9 +44,9 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- cache: 'pip'
- cache-dependency-path: 'requirements/testing.txt'
-# TODO: separated requirements.txt file just for unit tests
+ cache: "pip"
+ cache-dependency-path: "requirements/testing.txt"
+ # TODO: separated requirements.txt file just for unit tests
- name: Install dependencies
if: steps.check.outcome == 'failure'
uses: ./.github/actions/cached-dependencies
diff --git a/.github/workflows/superset-translations.yml b/.github/workflows/superset-translations.yml
index 647e27b3d7..e51011b908 100644
--- a/.github/workflows/superset-translations.yml
+++ b/.github/workflows/superset-translations.yml
@@ -3,7 +3,8 @@ name: Translations
on:
push:
branches:
- - 'master'
+ - "master"
+ - regex: ^\d+\.\d+$
pull_request:
types: [synchronize, opened, reopened, ready_for_review]
@@ -24,7 +25,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
- node-version: '16'
+ node-version: "16"
- name: Install dependencies
uses: ./.github/actions/cached-dependencies
with: