Skip to content

Resolve the payload interpreter through PATH, not the host #3

Resolve the payload interpreter through PATH, not the host

Resolve the payload interpreter through PATH, not the host #3

Workflow file for this run

name: e2e (windows reusable)

Check failure on line 1 in .github/workflows/e2e-windows.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/e2e-windows.yml

Invalid workflow file

(Line: 41, Col: 14): Unexpected symbol: '"'. Located at position 35 within expression: join(matrix.profile.scenario_ids, " or ")
# 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"