@@ -200,54 +200,6 @@ jobs:
200200 -name :Run simple code
201201run :python -c 'import math; print(math.factorial(5))'
202202
203- setup-versions-from-standard-pyproject-file-without-parameter :
204- name :Setup ${{ matrix.python }} ${{ matrix.os }} standard pyproject file without parameter
205- runs-on :${{ matrix.os }}
206- strategy :
207- fail-fast :false
208- matrix :
209- os :[macos-latest, windows-latest, ubuntu-20.04, ubuntu-22.04]
210- python :[3.5.4, 3.6.7, 3.7.5, 3.8.15, 3.9.13]
211- exclude :
212- -os :ubuntu-22.04
213- python :3.5.4
214- -os :ubuntu-22.04
215- python :3.6.7
216- -os :ubuntu-22.04
217- python :3.7.5
218- -os :windows-latest
219- python :3.8.15
220- steps :
221- -name :Checkout
222- uses :actions/checkout@v3
223-
224- -name :build-version-file ${{ matrix.python }}
225- run :|
226- echo '[project]
227- requires-python = "${{ matrix.python }}"
228- ' > pyproject.toml
229-
230- -name :setup-python ${{ matrix.python }}
231- id :setup-python
232- uses :./
233-
234- -name :Check python-path
235- run :./__tests__/check-python-path.sh '${{ steps.setup-python.outputs.python-path }}'
236- shell :bash
237-
238- -name :Validate version
239- run :|
240- $pythonVersion = (python --version)
241- if ("Python ${{ matrix.python }}" -ne "$pythonVersion"){
242- Write-Host "The current version is $pythonVersion; expected version is ${{ matrix.python }}"
243- exit 1
244- }
245- $pythonVersion
246- shell :pwsh
247-
248- -name :Run simple code
249- run :python -c 'import math; print(math.factorial(5))'
250-
251203setup-versions-from-poetry-pyproject-file :
252204name :Setup ${{ matrix.python }} ${{ matrix.os }} poetry pyproject file
253205runs-on :${{ matrix.os }}
@@ -298,54 +250,6 @@ jobs:
298250 -name :Run simple code
299251run :python -c 'import math; print(math.factorial(5))'
300252
301- setup-versions-from-poetry-pyproject-file-without-parameter :
302- name :Setup ${{ matrix.python }} ${{ matrix.os }} poetry pyproject file without parameter
303- runs-on :${{ matrix.os }}
304- strategy :
305- fail-fast :false
306- matrix :
307- os :[macos-latest, windows-latest, ubuntu-20.04, ubuntu-22.04]
308- python :[3.5.4, 3.6.7, 3.7.5, 3.8.15, 3.9.13]
309- exclude :
310- -os :ubuntu-22.04
311- python :3.5.4
312- -os :ubuntu-22.04
313- python :3.6.7
314- -os :ubuntu-22.04
315- python :3.7.5
316- -os :windows-latest
317- python :3.8.15
318- steps :
319- -name :Checkout
320- uses :actions/checkout@v3
321-
322- -name :build-version-file ${{ matrix.python }}
323- run :|
324- echo '[tool.poetry.dependencies]
325- python = "${{ matrix.python }}"
326- ' > pyproject.toml
327-
328- -name :setup-python ${{ matrix.python }}
329- id :setup-python
330- uses :./
331-
332- -name :Check python-path
333- run :./__tests__/check-python-path.sh '${{ steps.setup-python.outputs.python-path }}'
334- shell :bash
335-
336- -name :Validate version
337- run :|
338- $pythonVersion = (python --version)
339- if ("Python ${{ matrix.python }}" -ne "$pythonVersion"){
340- Write-Host "The current version is $pythonVersion; expected version is ${{ matrix.python }}"
341- exit 1
342- }
343- $pythonVersion
344- shell :pwsh
345-
346- -name :Run simple code
347- run :python -c 'import math; print(math.factorial(5))'
348-
349253setup-pre-release-version-from-manifest :
350254name :Setup 3.9.0-beta.4 ${{ matrix.os }}
351255runs-on :${{ matrix.os }}