Skip to content

Commit cfd9b6e

Browse files
authored
[7] remove poetry.lock (#8)
1 parent 9c81c66 commit cfd9b6e

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/python-run-tests.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,11 @@ on:
4848
required: false
4949
type: string
5050
default: .
51+
delete-poetry-lock:
52+
description: Delete poetry lock file in order to test against newer versions
53+
required: false
54+
type: boolean
55+
default: false
5156

5257

5358
jobs:
@@ -75,6 +80,15 @@ jobs:
7580
#----------------------------------------------
7681
- uses: actions/checkout@v4
7782

83+
#----------------------------------------------
84+
# delete poetry.lock file in order to run tests against newer versions
85+
#----------------------------------------------
86+
- name: Delete poetry.lock file
87+
if: ${{ inputs.delete-poetry-lock }}
88+
run: |
89+
rm ./poetry.lock
90+
echo "::Warning tile=poetry.lock::Poetry.lock is deleted in this workflow run. You might have to do this too when reproducing build errors."
91+
7892
#----------------------------------------------
7993
# install Python
8094
#----------------------------------------------

0 commit comments

Comments
 (0)