actually honor the branch argument
This commit is contained in:
3
.github/workflows/quick-regression.yml
vendored
3
.github/workflows/quick-regression.yml
vendored
@ -68,7 +68,4 @@ jobs:
|
|||||||
- name: Run Selected Regression Tests
|
- name: Run Selected Regression Tests
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
git branch
|
|
||||||
git branch -r
|
|
||||||
git diff origin/develop..HEAD
|
|
||||||
python3 tools/regression-tests/get-quick-list.py
|
python3 tools/regression-tests/get-quick-list.py
|
||||||
|
|||||||
@ -31,7 +31,7 @@ def changed_files_from_git(branch='develop'):
|
|||||||
# get list of changed files relative to the develop branch from git
|
# get list of changed files relative to the develop branch from git
|
||||||
output = None
|
output = None
|
||||||
try:
|
try:
|
||||||
output = subprocess.run('git diff --diff-filter=MA --name-status develop',
|
output = subprocess.run('git diff --diff-filter=MA --name-status ' + branch,
|
||||||
shell=True, capture_output=True)
|
shell=True, capture_output=True)
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
|
|||||||
Reference in New Issue
Block a user