10000 Allow skipping tests in Windows release builds by zooba · Pull Request #28 · python/release-tools · GitHub
[go: up one dir, main page]

Skip to content

Allow skipping tests in Windows release builds #28

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 25, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions windows-release/stage-test-embed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ jobs:
- script: |
python -c "import sys; print(sys.version)"
displayName: 'Collect version number'
condition: and(succeeded(), not(variables['SkipTests']))

- script: |
python -m site
displayName: 'Collect site'
condition: and(succeeded(), not(variables['SkipTests']))
4 changes: 4 additions & 0 deletions windows-release/stage-test-msi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,12 @@ jobs:
- script: |
python -c "import sys; print(sys.version)"
displayName: 'Collect version number'
condition: and(succeeded(), not(variables['SkipTests']))

- script: |
python -m site
displayName: 'Collect site'
condition: and(succeeded(), not(variables['SkipTests']))

- powershell: |
gci -r "${env:PROGRAMDATA}\Microsoft\Windows\Start Menu\Programs\Python*"
Expand All @@ -87,10 +89,12 @@ jobs:
python -m pip install "azure<0.10"
python -m pip uninstall -y azure python-dateutil six
displayName: 'Test (un)install package'
condition: and(succeeded(), not(variables['SkipTests']))

- script: |
python -m test -uall -v test_ttk_guionly test_tk test_idle
displayName: 'Test Tkinter and Idle'
condition: and(succeeded(), not(variables['SkipTests']), not(variables['SkipTkTests']))

- script: >
"$(SetupExe)"
Expand Down
3 changes: 3 additions & 0 deletions windows-release/stage-test-nuget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,15 @@ jobs:
- script: |
python -c "import sys; print(sys.version)"
displayName: 'Collect version number'
condition: and(succeeded(), not(variables['SkipTests']))

- script: |
python -m site
displayName: 'Collect site'
condition: and(succeeded(), not(variables['SkipTests']))

- script: |
python -m pip install "azure<0.10"
python -m pip uninstall -y azure python-dateutil six
displayName: 'Test (un)install package'
condition: and(succeeded(), not(variables['SkipTests']))
0