Skip to content

Commit 40a94e6

Browse files
committed
ci: Enable parallel tox runtime tests again
Closes #78
1 parent ac3eadd commit 40a94e6

File tree

2 files changed

+2
-23
lines changed

2 files changed

+2
-23
lines changed

.github/workflows/test_inc.yml

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -108,14 +108,6 @@ jobs:
108108
--with tox-uv
109109
110110
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 }}

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,8 @@ basic = [
5252
]
5353
mypy = ["mypy == 1.11.2"]
5454
pyright = [
55-
"pyright == 1.1.390",
55+
# RobertCraigie/pyright-python/#318
56+
"pyright == 1.1.394",
5657
"basedpyright == 1.27.1",
5758
]
5859
format = ["ruff ~= 0.6"]

0 commit comments

Comments
 (0)