-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #66 from rmartin16/remove-winstore-ci-tests
Remove Windows Store Python testing from CI
- Loading branch information
Showing
3 changed files
with
0 additions
and
133 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,10 +12,6 @@ on: | |
description: "Python version to use; defaults to latest Python release." | ||
default: "3.X" | ||
type: string | ||
python-source: | ||
description: "Where to install python from; i.e. github or winstore." | ||
default: "github" | ||
type: string | ||
runner-os: | ||
description: "The OS to use to build the App; must be a fully qualified GitHub runner OS, e.g. ubuntu-latest." | ||
required: true | ||
|
@@ -107,17 +103,10 @@ jobs: | |
echo "python-version=$(python3 -c 'import sys; print(f"{sys.version_info.major}.{sys.version_info.minor}")')" >> ${GITHUB_OUTPUT} | ||
- name: Set up Python | ||
if: inputs.python-source == 'github' | ||
uses: actions/[email protected] | ||
with: | ||
python-version: ${{ inputs.python-version }} | ||
|
||
- name: Install Windows Store Python | ||
if: inputs.python-source == 'winstore' | ||
uses: ./beeware-.github/.github/actions/install-win-store-python | ||
with: | ||
python-version: ${{ inputs.python-version }} | ||
|
||
- name: Get packages | ||
# Briefcase will build and package itself in a previous step in its CI. | ||
if: endsWith(inputs.repository, 'briefcase') | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -139,38 +139,6 @@ jobs: | |
exit 1 | ||
fi | ||
test-install-win-store-python: | ||
name: Test Win Store Python Installation | ||
needs: pre-commit | ||
runs-on: windows-latest | ||
timeout-minutes: 30 | ||
strategy: | ||
matrix: | ||
python-version: [ "3.8", "3.9", "3.10", "3.11", "3.12" ] | ||
steps: | ||
- uses: actions/[email protected] | ||
|
||
- name: Install Windows Store Python | ||
uses: ./.github/actions/install-win-store-python | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- name: Test Windows Store Python Install | ||
shell: powershell | ||
run: | | ||
$PythonExeSubDir = "\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.${{ matrix.python-version }}_qbz5n2kfra8p0\python.exe" | ||
$ExpectedPythonPath = Join-Path "$env:LOCALAPPDATA" "$PythonExeSubDir" | ||
if ( "$((Get-Command python).Path)" -ne "$ExpectedPythonPath" ) { | ||
echo "Python is at $((Get-Command python).Path)" | ||
echo "Python was expected at $ExpectedPythonPath" | ||
exit 1 | ||
} | ||
if ( "$(python -V)" -cnotlike "Python ${{ matrix.python-version }}*" ) { | ||
echo "Found $(python -V)" | ||
echo "Expected Python ${{ matrix.python-version }}" | ||
exit 1 | ||
} | ||
test-pre-commit-run: | ||
name: Test Pre-commit | ||
needs: pre-commit | ||
|
@@ -355,7 +323,6 @@ jobs: | |
uses: ./.github/workflows/app-build-verify.yml | ||
with: | ||
python-version: "3.11" | ||
python-source: ${{ matrix.python-source }} | ||
repository: beeware/briefcase-windows-${{ matrix.format }}-template | ||
runner-os: windows-latest | ||
target-platform: windows | ||
|
@@ -366,4 +333,3 @@ jobs: | |
matrix: | ||
format: [ "app", "VisualStudio" ] | ||
framework: [ "toga", "ppb" ] | ||
python-source: [ "github", "winstore" ] |