Tolerate only Windows `pytest` failures
Job-level `continue-on-error` made setup and import-smoke failures non-blocking even though the smoke is the hard Windows support signal. Move tolerance to the `pytest` step so the incomplete suite remains informational while install, dependency, and `HAS_UDS` smoke failures fail the job. When only the known suite fails, the job and PR rollup remain green with the failed step still visible. (this patch was generated in some part by `opencode` using `gpt-5.6-sol` (`openai`))wkt/macos_ci_reruns
parent
40be587ce2
commit
359fe75ced
|
|
@ -91,11 +91,10 @@ jobs:
|
||||||
name: '${{ matrix.os }} Python${{ matrix.python-version }} spawn_backend=${{ matrix.spawn_backend }} tpt_proto=${{ matrix.tpt_proto }}'
|
name: '${{ matrix.os }} Python${{ matrix.python-version }} spawn_backend=${{ matrix.spawn_backend }} tpt_proto=${{ matrix.tpt_proto }}'
|
||||||
timeout-minutes: 16
|
timeout-minutes: 16
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
# Windows support is nascent: keep its legs informational so a
|
# Windows support is nascent: its full test suite remains
|
||||||
# known-incomplete area doesn't block merges. The `import
|
# informational, while setup and the `import tractor` smoke below
|
||||||
# tractor` smoke step below is the hard signal for this job;
|
# are hard signals. Promote the test step to required once the
|
||||||
# promote the whole leg to required once the suite is green.
|
# suite is green.
|
||||||
continue-on-error: ${{ matrix.os == 'windows-latest' }}
|
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
|
|
@ -163,6 +162,7 @@ jobs:
|
||||||
run: uv run python -c "import sys; import tractor; from tractor.ipc._uds import HAS_UDS; assert sys.platform != 'win32' or not HAS_UDS; print('import tractor OK | HAS_UDS=', HAS_UDS)"
|
run: uv run python -c "import sys; import tractor; from tractor.ipc._uds import HAS_UDS; assert sys.platform != 'win32' or not HAS_UDS; print('import tractor OK | HAS_UDS=', HAS_UDS)"
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
|
continue-on-error: ${{ matrix.os == 'windows-latest' }}
|
||||||
run: >
|
run: >
|
||||||
uv run
|
uv run
|
||||||
pytest
|
pytest
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue