small cleanups
This commit is contained in:
1
.github/workflows/full-regression.yml
vendored
1
.github/workflows/full-regression.yml
vendored
@ -27,6 +27,7 @@ jobs:
|
|||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 2
|
fetch-depth: 2
|
||||||
|
show-progress: false
|
||||||
|
|
||||||
- name: Install extra packages
|
- name: Install extra packages
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
@ -278,3 +278,4 @@ if __name__ == "__main__":
|
|||||||
print("Minimize styles: ", styles['minimize'])
|
print("Minimize styles: ", styles['minimize'])
|
||||||
|
|
||||||
print("Example input files affected: ", len(inputs))
|
print("Example input files affected: ", len(inputs))
|
||||||
|
print("inputs: ", inputs.sort())
|
||||||
|
|||||||
@ -967,15 +967,13 @@ if __name__ == "__main__":
|
|||||||
# generate list of input scripts with commands that have been changed
|
# generate list of input scripts with commands that have been changed
|
||||||
if quick:
|
if quick:
|
||||||
headers = get_quick_list.changed_files_from_git(quick_branch)
|
headers = get_quick_list.changed_files_from_git(quick_branch)
|
||||||
print("headers ", headers)
|
|
||||||
styles = get_quick_list.get_command_from_header(headers, LAMMPS_DIR)
|
styles = get_quick_list.get_command_from_header(headers, LAMMPS_DIR)
|
||||||
print("styles ", styles)
|
|
||||||
regex = get_quick_list.make_regex(styles)
|
regex = get_quick_list.make_regex(styles)
|
||||||
print("regex ", regex)
|
|
||||||
if regex:
|
if regex:
|
||||||
if not example_toplevel: example_toplevel = os.path.join(LAMMPS_DIR, 'examples')
|
if not example_toplevel: example_toplevel = os.path.join(LAMMPS_DIR, 'examples')
|
||||||
input_list = get_quick_list.get_examples_using_styles(regex, example_toplevel)
|
input_list = get_quick_list.get_examples_using_styles(regex, example_toplevel)
|
||||||
msg = f"\nThere are {len(input_list)} input scripts with changed styles relative to branch {quick_branch}."
|
msg = f"\nThere are {len(input_list)} input scripts with changed styles relative to branch {quick_branch}."
|
||||||
|
msg += "\nChanged styles: " + str(styles)
|
||||||
print(msg)
|
print(msg)
|
||||||
logger.info(msg)
|
logger.info(msg)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user