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 (macos reusable)

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

View workflow run for this annotation

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

Invalid workflow file

(Line: 34, Col: 14): Unexpected symbol: '"'. Located at position 35 within expression: join(matrix.profile.scenario_ids, " or ")
# macOS coverage is deliberately narrow: setrlimit(RLIMIT_AS) is the only
# hard, enforced ceiling available on a GH-hosted macOS runner (no cgroups,
# no nested virtualization, no enforceable CPU affinity -- see
# tests/e2e/scenarios.py::EXCLUSIONS and design decision #2).
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
run: pip install -e ".[test]"
- name: run this profile's scenarios
shell: bash
run: |
ids='${{ join(matrix.profile.scenario_ids, " or ") }}'
python -m pytest tests/e2e -v -k "$ids"