Compare commits

..

6 Commits

Author SHA1 Message Date
MaksimZhukov
30a06d5828 Merge pull request #71 from actions/v-mazhuk/add-test-workflow
Add a new workflow to test Python versions
2020-12-16 09:23:36 +03:00
MaksimZhukov
d3614793c0 Add a new workflow to test Python versions 2020-12-15 17:31:08 +03:00
MaksimZhukov
fab0879a3d Merge pull request #70 from actions/update-versions-manifest-file
[versions-manifest] Update for release from 12/15/2020
2020-12-15 11:48:07 +03:00
Service account
105a61d2c8 Update versions-manifest 2020-12-15 08:12:39 +00:00
MaksimZhukov
9515b3b32a Merge pull request #68 from actions/update-versions-manifest-file
[versions-manifest] Update for release from 12/10/2020
2020-12-10 12:53:39 +03:00
Service account
597694ec77 Update versions-manifest 2020-12-10 09:25:34 +00:00
2 changed files with 218 additions and 0 deletions

View File

@@ -0,0 +1,34 @@
name: Test Python version
on:
workflow_dispatch:
inputs:
version:
description: 'Python version to build'
required: true
architecture:
description: 'The target architecture (x86, x64) of the Python'
required: false
default: 'x64'
jobs:
test-python:
name: Test Python ${{ github.event.inputs.version }} ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [macos-latest, windows-latest, ubuntu-18.04, ubuntu-20.04]
steps:
- name: Setup Python ${{ github.event.inputs.version }}
uses: actions/setup-python@main
with:
python-version: ${{ github.event.inputs.version }}
architecture: ${{ github.event.inputs.architecture }}
- name: Validate version
run: |
python --version
shell: pwsh
- name: Run simple code
run: python -c 'import math; print(math.factorial(5))'

View File

@@ -1,4 +1,50 @@
[
{
"version": "3.10.0-alpha.3",
"stable": false,
"release_url": "https://github.com/actions/python-versions/releases/tag/3.10.0-alpha.3-91813",
"files": [
{
"filename": "python-3.10.0-alpha.3-darwin-x64.tar.gz",
"arch": "x64",
"platform": "darwin",
"download_url": "https://github.com/actions/python-versions/releases/download/3.10.0-alpha.3-91813/python-3.10.0-alpha.3-darwin-x64.tar.gz"
},
{
"filename": "python-3.10.0-alpha.3-linux-16.04-x64.tar.gz",
"arch": "x64",
"platform": "linux",
"platform_version": "16.04",
"download_url": "https://github.com/actions/python-versions/releases/download/3.10.0-alpha.3-91813/python-3.10.0-alpha.3-linux-16.04-x64.tar.gz"
},
{
"filename": "python-3.10.0-alpha.3-linux-18.04-x64.tar.gz",
"arch": "x64",
"platform": "linux",
"platform_version": "18.04",
"download_url": "https://github.com/actions/python-versions/releases/download/3.10.0-alpha.3-91813/python-3.10.0-alpha.3-linux-18.04-x64.tar.gz"
},
{
"filename": "python-3.10.0-alpha.3-linux-20.04-x64.tar.gz",
"arch": "x64",
"platform": "linux",
"platform_version": "20.04",
"download_url": "https://github.com/actions/python-versions/releases/download/3.10.0-alpha.3-91813/python-3.10.0-alpha.3-linux-20.04-x64.tar.gz"
},
{
"filename": "python-3.10.0-alpha.3-win32-x64.zip",
"arch": "x64",
"platform": "win32",
"download_url": "https://github.com/actions/python-versions/releases/download/3.10.0-alpha.3-91813/python-3.10.0-alpha.3-win32-x64.zip"
},
{
"filename": "python-3.10.0-alpha.3-win32-x86.zip",
"arch": "x86",
"platform": "win32",
"download_url": "https://github.com/actions/python-versions/releases/download/3.10.0-alpha.3-91813/python-3.10.0-alpha.3-win32-x86.zip"
}
]
},
{
"version": "3.10.0-alpha.2",
"stable": false,
@@ -91,6 +137,98 @@
}
]
},
{
"version": "3.9.1",
"stable": true,
"release_url": "https://github.com/actions/python-versions/releases/tag/3.9.1-91523",
"files": [
{
"filename": "python-3.9.1-darwin-x64.tar.gz",
"arch": "x64",
"platform": "darwin",
"download_url": "https://github.com/actions/python-versions/releases/download/3.9.1-91523/python-3.9.1-darwin-x64.tar.gz"
},
{
"filename": "python-3.9.1-linux-16.04-x64.tar.gz",
"arch": "x64",
"platform": "linux",
"platform_version": "16.04",
"download_url": "https://github.com/actions/python-versions/releases/download/3.9.1-91523/python-3.9.1-linux-16.04-x64.tar.gz"
},
{
"filename": "python-3.9.1-linux-18.04-x64.tar.gz",
"arch": "x64",
"platform": "linux",
"platform_version": "18.04",
"download_url": "https://github.com/actions/python-versions/releases/download/3.9.1-91523/python-3.9.1-linux-18.04-x64.tar.gz"
},
{
"filename": "python-3.9.1-linux-20.04-x64.tar.gz",
"arch": "x64",
"platform": "linux",
"platform_version": "20.04",
"download_url": "https://github.com/actions/python-versions/releases/download/3.9.1-91523/python-3.9.1-linux-20.04-x64.tar.gz"
},
{
"filename": "python-3.9.1-win32-x64.zip",
"arch": "x64",
"platform": "win32",
"download_url": "https://github.com/actions/python-versions/releases/download/3.9.1-91523/python-3.9.1-win32-x64.zip"
},
{
"filename": "python-3.9.1-win32-x86.zip",
"arch": "x86",
"platform": "win32",
"download_url": "https://github.com/actions/python-versions/releases/download/3.9.1-91523/python-3.9.1-win32-x86.zip"
}
]
},
{
"version": "3.9.1-rc.1",
"stable": false,
"release_url": "https://github.com/actions/python-versions/releases/tag/3.9.1-rc.1-91591",
"files": [
{
"filename": "python-3.9.1-rc.1-darwin-x64.tar.gz",
"arch": "x64",
"platform": "darwin",
"download_url": "https://github.com/actions/python-versions/releases/download/3.9.1-rc.1-91591/python-3.9.1-rc.1-darwin-x64.tar.gz"
},
{
"filename": "python-3.9.1-rc.1-linux-16.04-x64.tar.gz",
"arch": "x64",
"platform": "linux",
"platform_version": "16.04",
"download_url": "https://github.com/actions/python-versions/releases/download/3.9.1-rc.1-91591/python-3.9.1-rc.1-linux-16.04-x64.tar.gz"
},
{
"filename": "python-3.9.1-rc.1-linux-18.04-x64.tar.gz",
"arch": "x64",
"platform": "linux",
"platform_version": "18.04",
"download_url": "https://github.com/actions/python-versions/releases/download/3.9.1-rc.1-91591/python-3.9.1-rc.1-linux-18.04-x64.tar.gz"
},
{
"filename": "python-3.9.1-rc.1-linux-20.04-x64.tar.gz",
"arch": "x64",
"platform": "linux",
"platform_version": "20.04",
"download_url": "https://github.com/actions/python-versions/releases/download/3.9.1-rc.1-91591/python-3.9.1-rc.1-linux-20.04-x64.tar.gz"
},
{
"filename": "python-3.9.1-rc.1-win32-x64.zip",
"arch": "x64",
"platform": "win32",
"download_url": "https://github.com/actions/python-versions/releases/download/3.9.1-rc.1-91591/python-3.9.1-rc.1-win32-x64.zip"
},
{
"filename": "python-3.9.1-rc.1-win32-x86.zip",
"arch": "x86",
"platform": "win32",
"download_url": "https://github.com/actions/python-versions/releases/download/3.9.1-rc.1-91591/python-3.9.1-rc.1-win32-x86.zip"
}
]
},
{
"version": "3.9.0",
"stable": true,
@@ -873,6 +1011,52 @@
}
]
},
{
"version": "3.7.1",
"stable": true,
"release_url": "https://github.com/actions/python-versions/releases/tag/3.7.1-92312",
"files": [
{
"filename": "python-3.7.1-darwin-x64.tar.gz",
"arch": "x64",
"platform": "darwin",
"download_url": "https://github.com/actions/python-versions/releases/download/3.7.1-92312/python-3.7.1-darwin-x64.tar.gz"
},
{
"filename": "python-3.7.1-linux-16.04-x64.tar.gz",
"arch": "x64",
"platform": "linux",
"platform_version": "16.04",
"download_url": "https://github.com/actions/python-versions/releases/download/3.7.1-92312/python-3.7.1-linux-16.04-x64.tar.gz"
},
{
"filename": "python-3.7.1-linux-18.04-x64.tar.gz",
"arch": "x64",
"platform": "linux",
"platform_version": "18.04",
"download_url": "https://github.com/actions/python-versions/releases/download/3.7.1-92312/python-3.7.1-linux-18.04-x64.tar.gz"
},
{
"filename": "python-3.7.1-linux-20.04-x64.tar.gz",
"arch": "x64",
"platform": "linux",
"platform_version": "20.04",
"download_url": "https://github.com/actions/python-versions/releases/download/3.7.1-92312/python-3.7.1-linux-20.04-x64.tar.gz"
},
{
"filename": "python-3.7.1-win32-x64.zip",
"arch": "x64",
"platform": "win32",
"download_url": "https://github.com/actions/python-versions/releases/download/3.7.1-92312/python-3.7.1-win32-x64.zip"
},
{
"filename": "python-3.7.1-win32-x86.zip",
"arch": "x86",
"platform": "win32",
"download_url": "https://github.com/actions/python-versions/releases/download/3.7.1-92312/python-3.7.1-win32-x86.zip"
}
]
},
{
"version": "3.6.12",
"stable": true,