Resolve the payload interpreter through PATH, not the host #3
Workflow file for this run
This file contains hidden or 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
| name: e2e (windows reusable) | ||
|
Check failure on line 1 in .github/workflows/e2e-windows.yml
|
||
| # Covers both windows-bare (self-created Job Object around a plain process) | ||
| # and windows-container (process-isolated container, pinned windows-2022 + | ||
| # ltsc2022 -- Hyper-V isolation is never used, GH Windows runners have no | ||
| # nested-virt path for it; an HCS 0xc0370106 build desync is reported as an | ||
| # infrastructure error, never a measurement mismatch, per criterion 14). | ||
| on: | ||
| workflow_call: | ||
| inputs: | ||
| profiles: | ||
| required: true | ||
| type: string | ||
| jobs: | ||
| scenario-profile: | ||
| strategy: | ||
| fail-fast: false | ||
| matrix: | ||
| profile: ${{ fromJSON(inputs.profiles) }} | ||
| runs-on: ${{ matrix.profile.runner }} | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: actions/setup-python@v5 | ||
| with: | ||
| python-version: "3.11" | ||
| - name: install package + test deps | ||
| shell: pwsh | ||
| run: pip install -e ".[test]" | ||
| - name: install profile prerequisites | ||
| if: contains(matrix.profile.prereqs, 'pywin32') | ||
| shell: pwsh | ||
| run: pip install pywin32 | ||
| - name: run this profile's scenarios | ||
| shell: pwsh | ||
| run: | | ||
| $ids = '${{ join(matrix.profile.scenario_ids, " or ") }}' | ||
| python -m pytest tests/e2e -v -k "$ids" | ||