cast into PosixPath to str before writing to file
This commit is contained in:
2
.github/workflows/full-regression.yml
vendored
2
.github/workflows/full-regression.yml
vendored
@ -81,8 +81,6 @@ jobs:
|
|||||||
# restrict to official LAMMPS repository
|
# restrict to official LAMMPS repository
|
||||||
if: ${{ github.repository == 'lammps/lammps' }}
|
if: ${{ github.repository == 'lammps/lammps' }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
env:
|
|
||||||
CCACHE_DIR: ${{ github.workspace }}/.ccache
|
|
||||||
strategy:
|
strategy:
|
||||||
max-parallel: 2
|
max-parallel: 2
|
||||||
matrix:
|
matrix:
|
||||||
|
|||||||
@ -264,7 +264,7 @@ if __name__ == "__main__":
|
|||||||
with open('input_list.txt', 'w') as f:
|
with open('input_list.txt', 'w') as f:
|
||||||
for inp in inputs:
|
for inp in inputs:
|
||||||
print(inp)
|
print(inp)
|
||||||
f.write(inp + '\n')
|
f.write(str(inp) + '\n')
|
||||||
|
|
||||||
print("Found changes to the following styles:")
|
print("Found changes to the following styles:")
|
||||||
print("Commands: ", styles['command'])
|
print("Commands: ", styles['command'])
|
||||||
|
|||||||
Reference in New Issue
Block a user