Skip to content

Commit e304dd6

Browse files
author
peng.li24
committed
fix(ci): collapse multi-line -k filter to single line (newlines caused pytest parse error)
1 parent 00aeb78 commit e304dd6

1 file changed

Lines changed: 8 additions & 14 deletions

File tree

.github/workflows/ci.yml

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -98,23 +98,17 @@ jobs:
9898
run: cmake --build tests/build_std -j$(nproc)
9999

100100
- name: Run API-compatibility tests (std mode)
101-
run: |
102-
cd tests
103-
# Use the std .so (placed alongside test_all.py by CMake)
104-
python -m pytest test_all.py -q --tb=short --no-header \
105-
-k "not (test_unary_math or test_dot or test_norm or test_matmul or
106-
TestEinsum or test_avx512_boundary or
107-
test_nan_passthrough or test_nan_mixed or
108-
test_domain or signed_zero or _inf or test_sign_inf)"
109-
# Skipped in std mode (std::exp/log/sin and C++ loops are NOT
110-
# bit-identical to numpy's npy_* kernels / OpenBLAS):
101+
# std mode: skip tests that require bit-exact transcendental / BLAS results.
102+
# All structural, reduction, manipulation, io, comparison, astype,
103+
# and advanced-indexing tests still run (~423 / 900).
111104
# test_unary_math — transcendental element-wise (exp/log/sin/…)
112105
# test_dot/norm/matmul — linalg (BLAS vs C++ loops)
113-
# TestEinsum — einsum (SSE kernel + BLAS vs loops)
114-
# test_avx512_boundary — AVX-512 vectorised path not present in std
106+
# TestEinsum — einsum (BLAS vs loops)
107+
# test_avx512_boundary — AVX-512 path not present in std build
115108
# nan/domain/signed_zero/_inf — transcendental edge cases
116-
# All structural, reduction, manipulation, io, comparison, astype,
117-
# and advanced-indexing tests still run (423 / 900).
109+
run: |
110+
cd tests
111+
python -m pytest test_all.py -q --tb=short --no-header -k "not (test_unary_math or test_dot or test_norm or test_matmul or TestEinsum or test_avx512_boundary or test_nan_passthrough or test_nan_mixed or test_domain or signed_zero or _inf or test_sign_inf)"
118112
119113
# ── Job 3: package both DEBs ─────────────────────────────────────────────────
120114
package:

0 commit comments

Comments
 (0)