fix: Re-enable CI checks on release branches (#27390)

(cherry picked from commit a54a24e3b5)
This commit is contained in:
Michael S. Molina
2024-03-06 12:23:07 -05:00
committed by Michael S. Molina
parent db6df71fad
commit 0baa2af200
20 changed files with 60 additions and 41 deletions

View File

@@ -4,7 +4,8 @@ name: Python-Unit
on:
push:
branches:
- 'master'
- "master"
- "[0-9].[0-9]"
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