Skip to content

Commit 0b967dc

Browse files
committed
Use a compatible Python version
1 parent 7746abc commit 0b967dc

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/test_actions.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,10 +230,12 @@ jobs:
230230
uses: ./setup-poetry
231231
- name: Create project
232232
run: poetry new test-project
233-
- name: Create poetry.lock
234-
run: poetry lock -C test-project
233+
- name: Set compatible Python version in pyproject.toml
234+
run: poetry env use 3.11 -C test-project
235235
- name: Add ni-python-styleguide to the project
236236
run: poetry add ni-python-styleguide -C test-project
237+
- name: Create poetry.lock
238+
run: poetry lock -C test-project
237239
- name: Check that the project was created
238240
run: |
239241
if [ ! -f test-project/pyproject.toml ]; then

0 commit comments

Comments
 (0)