mirror of
https://github.com/actions/python-versions.git
synced 2025-12-15 15:32:11 +00:00
Compare commits
9 Commits
3.10.13-11
...
macos-13-f
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fa79cd14e2 | ||
|
|
6a2449a067 | ||
|
|
68a23eab06 | ||
|
|
002e3ccf57 | ||
|
|
21085835da | ||
|
|
28e5e01695 | ||
|
|
06ed60ac23 | ||
|
|
fc3460f33a | ||
|
|
d9340e97e0 |
8
.github/workflows/build-python-packages.yml
vendored
8
.github/workflows/build-python-packages.yml
vendored
@@ -15,7 +15,7 @@ on:
|
||||
PLATFORMS:
|
||||
description: 'Platforms for execution in "os" or "os_arch" format (arch is "x64" by default)'
|
||||
required: true
|
||||
default: 'ubuntu-20.04,ubuntu-22.04,ubuntu-22.04_arm64,ubuntu-24.04,macos-13_x64,macos-14_arm64,windows-2019_x64,windows-2019_x86,windows-2019_arm64'
|
||||
default: 'ubuntu-20.04,ubuntu-22.04,ubuntu-22.04_arm64,ubuntu-24.04,ubuntu-24.04_arm64,macos-13_x64,macos-14_arm64,windows-2019_x64,windows-2019_x86,windows-2019_arm64'
|
||||
pull_request:
|
||||
paths-ignore:
|
||||
- 'versions-manifest.json'
|
||||
@@ -51,11 +51,15 @@ jobs:
|
||||
"*macos*" { $platform = 'darwin' }
|
||||
"*windows*" { $platform = 'win32' }
|
||||
}
|
||||
|
||||
if ($configuration -eq "ubuntu-22.04_arm64") {
|
||||
$os = "setup-actions-ubuntu-arm64-2-core"
|
||||
}elseif($configuration -eq "ubuntu-24.04_arm64"){
|
||||
$os = "setup-actions-ubuntu24-arm64-2-core"
|
||||
}elseif ($configuration -eq "windows-2019_arm64") {
|
||||
$os = "setup-actions-windows-arm64-4-core"
|
||||
}
|
||||
|
||||
$matrix += @{
|
||||
'platform' = $platform
|
||||
'os' = $os
|
||||
@@ -208,7 +212,7 @@ jobs:
|
||||
|
||||
- name: Run tests
|
||||
run: |
|
||||
Install-Module Pester -Force -Scope CurrentUser -SkipPublisherCheck
|
||||
Install-Module Pester -Force -Scope CurrentUser
|
||||
Import-Module Pester
|
||||
$pesterContainer = New-PesterContainer -Path './python-tests.ps1' -Data @{
|
||||
Version="${{ env.VERSION }}";
|
||||
|
||||
@@ -27,7 +27,7 @@ BeforeAll {
|
||||
$module = $regexMatch.Groups[1].Value.Trim()
|
||||
Write-Host "Failed missing modules:"
|
||||
Write-Host $module
|
||||
if ( ($module -eq "_tkinter") -and ( [semver]"$($Version.Major).$($Version.Minor)" -ge [semver]"3.10" -and $Version.PreReleaseLabel ) ) {
|
||||
if ( ($module -eq "_tkinter") -and ( [semver]"$($Version.Major).$($Version.Minor)" -ge [semver]"3.8" ) ) {
|
||||
Write-Host "$module $Version ignored"
|
||||
} else {
|
||||
return 1
|
||||
|
||||
Reference in New Issue
Block a user