Repository navigation
49 lines (46 loc) · 1.65 KB
/
Copy pathpython-package.yml
File metadata and controls
49 lines (46 loc) · 1.65 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
name: Python regressions and installed artifacts
on:
push:
branches: [main]
pull_request:
workflow_dispatch:
permissions:
contents: read
jobs:
regression-package:
name: ${{ matrix.label }}
strategy:
fail-fast: false
matrix:
include:
- label: macOS acceptance / Python 3.14
os: macos-15
python: '3.14'
- label: Linux lower-bound check / Python 3.10
os: ubuntu-24.04
python: '3.10'
runs-on: ${{ matrix.os }}
timeout-minutes: 30
env:
PYTHONDONTWRITEBYTECODE: '1'
steps:
- uses: actions/checkout@v7
with:
persist-credentials: false
- uses: actions/setup-python@v7
with:
python-version: ${{ matrix.python }}
cache: pip
cache-dependency-path: pyproject.toml
- name: Isolate Jobs state and lifecycle evidence
run: |
printf '%s\n' "CMW_JOBS_STATE=$RUNNER_TEMP/cmw-ci-unused-state" >> "$GITHUB_ENV"
printf '%s\n' "CMW_TEST_EVIDENCE_DIR=$RUNNER_TEMP/cmw-lifecycle-evidence" >> "$GITHUB_ENV"
- name: Install test and build dependencies
run: python -m pip install -e '.[jobs]' build
# Discovery includes controlled suspension state, worker, runner, portal
# and PTY regressions. Native MPI/engine/sleep qualification is separate.
- name: Full deterministic offline suite (synthetic engines only)
run: python -m unittest discover -s tests
- name: Build, inspect and test fresh installations outside checkout
run: PYTHON_BIN="$(command -v python)" bash scripts/ci/check_artifacts.sh "$RUNNER_TEMP/cmw-artifact-check"