-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: Enable parallel tox runtime tests again
Closes #78
- Loading branch information
1 parent
ac3eadd
commit 40a94e6
Showing
2 changed files
with
2 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -108,14 +108,6 @@ jobs: | |
--with tox-uv | ||
[email protected] | ||
# Trigger npm install pyright once, otherwise | ||
# tox run-parallel would cause multiple concurrent | ||
# installation into same location and fail | ||
# RobertCraigie/pyright-python#318 | ||
- name: Prepare test environment | ||
run: | | ||
uvx tox run -e pyright -- --version | ||
# Glob not supported under default windows env | ||
- name: Determine wheel file name | ||
id: wheel-name | ||
|
@@ -124,27 +116,13 @@ jobs: | |
echo "filename=$(echo dist/*.whl)" >> "$GITHUB_OUTPUT" | ||
- name: Test runtime | ||
if: runner.os != 'Windows' | ||
run: > | ||
uvx | ||
tox run-parallel | ||
--skip-env='.*-stub$' | ||
--installpkg ${{ steps.wheel-name.outputs.filename }} | ||
--result-json test-${{ inputs.flavor }}-rt-${{ matrix.os }}-py${{ matrix.pyver }}.json | ||
# Tox-uv wreak havoc on the platform that needs it | ||
# most (Windows) under concurrent cache access, | ||
# which can potentially occur at every tox setup | ||
# steps before pytest. No workaround so far. | ||
- name: Test runtime (serially) | ||
if: runner.os == 'Windows' | ||
run: > | ||
uvx | ||
tox run | ||
--skip-env='.*-stub$' | ||
--installpkg ${{ steps.wheel-name.outputs.filename }} | ||
--result-json test-${{ inputs.flavor }}-rt-${{ matrix.os }}-py${{ matrix.pyver }}.json | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: log-${{ inputs.flavor }}-rt-${{ matrix.os }}-py${{ matrix.pyver }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters