@@ -108,14 +108,6 @@ jobs:
108108 --with tox-uv
109109110110
111- # Trigger npm install pyright once, otherwise
112- # tox run-parallel would cause multiple concurrent
113- # installation into same location and fail
114- # RobertCraigie/pyright-python#318
115- - name : Prepare test environment
116- run : |
117- uvx tox run -e pyright -- --version
118-
119111 # Glob not supported under default windows env
120112 - name : Determine wheel file name
121113 id : wheel-name
@@ -124,27 +116,13 @@ jobs:
124116 echo "filename=$(echo dist/*.whl)" >> "$GITHUB_OUTPUT"
125117
126118 - name : Test runtime
127- if : runner.os != 'Windows'
128119 run : >
129120 uvx
130121 tox run-parallel
131122 --skip-env='.*-stub$'
132123 --installpkg ${{ steps.wheel-name.outputs.filename }}
133124 --result-json test-${{ inputs.flavor }}-rt-${{ matrix.os }}-py${{ matrix.pyver }}.json
134125
135- # Tox-uv wreak havoc on the platform that needs it
136- # most (Windows) under concurrent cache access,
137- # which can potentially occur at every tox setup
138- # steps before pytest. No workaround so far.
139- - name : Test runtime (serially)
140- if : runner.os == 'Windows'
141- run : >
142- uvx
143- tox run
144- --skip-env='.*-stub$'
145- --installpkg ${{ steps.wheel-name.outputs.filename }}
146- --result-json test-${{ inputs.flavor }}-rt-${{ matrix.os }}-py${{ matrix.pyver }}.json
147-
148126 - uses : actions/upload-artifact@v4
149127 with :
150128 name : log-${{ inputs.flavor }}-rt-${{ matrix.os }}-py${{ matrix.pyver }}
0 commit comments