check out whole history
This commit is contained in:
2
.github/workflows/quick-regression.yml
vendored
2
.github/workflows/quick-regression.yml
vendored
@ -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
|
||||
|
||||
@ -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,9 +256,8 @@ 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)
|
||||
if regex:
|
||||
inputs = get_examples_using_styles(regex, os.path.join(LAMMPS_DIR,'examples'))
|
||||
|
||||
print("Suggested inputs for testing:")
|
||||
|
||||
Reference in New Issue
Block a user