[3.10] Improves the Windows MSI test run on PR (GH-104929)

Correctly set the exit code when builds fail
Also build docs as part of the test
This commit is contained in:
Steve Dower 2023-05-25 17:45:47 +01:00 committed by GitHub
parent f9d2a109bb
commit f22ddbfc7a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 20 additions and 26 deletions

View file

@ -10,6 +10,7 @@ on:
- 3.7
paths:
- 'Tools/msi/**'
- '.github/workflows/build_msi.yml'
pull_request:
branches:
- master
@ -19,6 +20,7 @@ on:
- 3.7
paths:
- 'Tools/msi/**'
- '.github/workflows/build_msi.yml'
permissions:
contents: read
@ -34,7 +36,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Build CPython installer
run: .\Tools\msi\build.bat -x86
run: .\Tools\msi\build.bat --doc -x86
build_win_amd64:
name: 'Windows (x64) Installer'
@ -42,4 +44,4 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Build CPython installer
run: .\Tools\msi\build.bat -x64
run: .\Tools\msi\build.bat --doc -x64