We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82c74e6 commit 5311b24Copy full SHA for 5311b24
.github/workflows/test_actions.yml
@@ -230,11 +230,8 @@ jobs:
230
uses: ./setup-poetry
231
- name: Create project
232
run: poetry new test-project
233
- - name: Restrict Python version in pyproject.toml
234
- run: |
235
- poetry env use ${{ matrix.python-version }} -C test-project
236
- name: Set compatible Python version in pyproject.toml
237
- run: sed -i 's/^python = .*/python = ">=3.7,<4.0"/' test-project/pyproject.toml
+ run: poetry add 'python@>=3.7,<4.0' --lock --dev -C test-project || poetry add 'python@>=3.7,<4.0' -C test-project
238
- name: Show pyproject.toml
239
run: cat test-project/pyproject.toml
240
- name: Add ni-python-styleguide to the project
0 commit comments