diff --git a/.github/workflows/quick-regression.yml b/.github/workflows/quick-regression.yml index d4e51a31e6..8c52db0ebd 100644 --- a/.github/workflows/quick-regression.yml +++ b/.github/workflows/quick-regression.yml @@ -25,7 +25,7 @@ jobs: uses: actions/checkout@v4 with: ref: ${{ github.event.pull_request.head.sha }} - fetch-depth: 2000 + fetch-depth: 0 show-progress: false - name: Install extra packages diff --git a/tools/regression-tests/get-quick-list.py b/tools/regression-tests/get-quick-list.py index 9cabce0c92..47a3a07b9b 100644 --- a/tools/regression-tests/get-quick-list.py +++ b/tools/regression-tests/get-quick-list.py @@ -238,7 +238,6 @@ def get_examples_using_styles(regex, examples='examples'): rtype: list of strings """ - print("type ", type(regex)) commands = re.compile(regex) inputs = [] for filename in Path(examples).rglob('in.*'): @@ -257,10 +256,9 @@ if __name__ == "__main__": headers = changed_files_from_git('develop') print("headers\n", headers) styles = get_command_from_header(headers, LAMMPS_DIR) - print("styles\n", styles) regex = make_regex(styles) - print("regex: ", regex) - inputs = get_examples_using_styles(regex, os.path.join(LAMMPS_DIR,'examples')) + if regex: + inputs = get_examples_using_styles(regex, os.path.join(LAMMPS_DIR,'examples')) print("Suggested inputs for testing:") for inp in inputs: