22
33on :
44 push :
5+ branches :
6+ - main
57 pull_request :
68 branches :
79 - main
1820 test :
1921 name : Build and test
2022 runs-on : ${{ matrix.os }}
21- timeout-minutes : 25
23+ timeout-minutes : 30
2224 strategy :
2325 fail-fast : false
2426 matrix :
4850 cache : pip
4951 cache-dependency-path : .github/workflows/main.yml
5052 check-latest : true
53+ allow-prereleases : true
5154
5255 - name : Fix user Scripts missing from PATH
5356 if : matrix.python-architecture == 'x86' || matrix.python-architecture == 'arm64'
8285 run : python .github\workflows\install-vs-components.py
8386
8487 - name : Build and register the PyCOMTest server dll
85- run : |
86- msbuild com/TestSources/PyCOMTest/PyCOMTest.sln -property:Configuration=Release
87- regsvr32 com/TestSources/PyCOMTest/x64/Release/PyCOMTest.dll
88+ # Pass Silent flag to regsvr32 to avoid hanging on confirmation window
89+ run : com/TestSources/PyCOMTest/buildAndRegister.bat /s
8890
8991 - name : Run tests
9092 # Run the tests directly from the source dir so support files (eg, .wav files etc)
@@ -106,7 +108,7 @@ jobs:
106108 cross_compile_arm64 :
107109 name : Cross-compile ARM64
108110 runs-on : windows-2022
109- timeout-minutes : 25
111+ timeout-minutes : 30
110112 strategy :
111113 fail-fast : false
112114 matrix :
@@ -123,9 +125,10 @@ jobs:
123125 cache : pip
124126 cache-dependency-path : .github/workflows/main.yml
125127 check-latest : true
128+ allow-prereleases : true
126129
127130 - name : Install build module
128- run : pip install --upgrade build
131+ run : pip install --upgrade build
129132
130133 - name : Obtain ARM64 library files
131134 run : python .github\workflows\download-arm64-libs.py ./arm64libs
@@ -156,7 +159,7 @@ jobs:
156159 # This job can be run locally by running `pre-commit run`
157160 checkers :
158161 runs-on : windows-2022
159- timeout-minutes : 25
162+ timeout-minutes : 30
160163 steps :
161164 - uses : actions/checkout@v4
162165 - uses : actions/setup-python@v5
@@ -186,13 +189,13 @@ jobs:
186189 if ($LastExitCode -ne 0) { exit $LastExitCode }
187190 if: ${{ !cancelled() }}
188191
189- mypy :
192+ type-checkers :
190193 runs-on : windows-2022
191- timeout-minutes : 25
194+ timeout-minutes : 30
192195 strategy :
193196 fail-fast : false
194197 matrix :
195- python-version : ["3.9", "3.10", "3.11", "3.12", "3.13"]
198+ python-version : ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14" ]
196199 steps :
197200 - uses : actions/checkout@v4
198201 - uses : actions/setup-python@v5
@@ -201,28 +204,14 @@ jobs:
201204 cache : pip
202205 cache-dependency-path : .github/workflows/main.yml
203206 check-latest : true
207+ allow-prereleases : true
204208 - run : pip install types-setuptools PyOpenGL mypy==1.16.*
209+
205210 - run : mypy . --python-version=${{ matrix.python-version }}
206211
207- pyright :
208- runs-on : windows-2022
209- timeout-minutes : 25
210- strategy :
211- fail-fast : false
212- matrix :
213- python-version : ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14-dev"]
214- steps :
215- - uses : actions/checkout@v4
216- - uses : actions/setup-python@v5
217- with :
218- python-version : ${{ matrix.python-version }}
219- cache : pip
220- cache-dependency-path : .github/workflows/main.yml
221- check-latest : true
222- # pyright vendors typeshed, but let's make sure we have the most up to date stubs
223- - run : pip install types-setuptools PyOpenGL
224212 - uses : jakebailey/pyright-action@v2
225213 with :
226214 python-version : ${{ matrix.python-version }}
227- version : " 1.1.396 "
215+ version : " 1.1.401 "
228216 annotate : errors
217+ if : ${{ !cancelled() }} # Show issues even if the previous steps failed. But still fail the job
0 commit comments