-
Notifications
You must be signed in to change notification settings - Fork 0
62 lines (58 loc) · 2.07 KB
/
Copy pathci-self-hosted.yml
File metadata and controls
62 lines (58 loc) · 2.07 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
50
51
52
53
54
55
56
57
58
59
60
61
62
name: CppMega MLX self-hosted CI
on:
pull_request:
branches: [main]
push:
branches: [main]
workflow_dispatch:
concurrency:
group: cppmega-mlx-ci-${{ github.ref }}
cancel-in-progress: true
jobs:
mac-contracts:
name: macOS MLX data, model, and eval contracts
runs-on: [self-hosted, macOS, ARM64, cppmega-mlx-macos]
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- name: Run focused MLX contract suite
shell: bash
run: |
set -euo pipefail
python_bin=/Volumes/external/sources/cppmega.mlx/.venv/bin/python
test -x "${python_bin}"
"${python_bin}" -m pytest -q \
tests/test_ast_fim.py \
tests/test_audit_sidecar_parquet.py \
tests/test_cpp_jsonl_generation_compile_eval.py \
tests/test_domain_graph_routes.py \
tests/test_eval_domain_routed_codegen.py \
tests/test_inference_generation.py \
tests/test_megatron_indexed.py \
tests/test_pack_enriched_rows.py \
tests/test_streaming_conveyor_progress.py \
tests/test_process_commits_fail_loud.py \
tests/test_repair_packed_document_boundaries.py
git diff --check
linux-portable:
name: Linux portable conveyor contracts
runs-on: [self-hosted, Linux, X64, cppmega-mlx]
timeout-minutes: 20
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.13"
- name: Install portable test dependencies
run: python -m pip install --disable-pip-version-check pytest numpy pyarrow tokenizers zstandard
- name: Run portable script contracts
shell: bash
run: |
set -euo pipefail
python -m pytest -q \
tests/test_audit_sidecar_parquet.py \
tests/test_pack_enriched_rows.py \
tests/test_streaming_conveyor_progress.py \
tests/test_process_commits_fail_loud.py \
tests/test_repair_packed_document_boundaries.py
git diff --check