really run test_ops with TINY_BACKEND in ci (#9206)

was failing with `line 1: pytest: command not found`
This commit is contained in:
chenyu
2025-02-22 15:51:24 -05:00
committed by GitHub
parent e6d20c47e3
commit e0adb1fc76

View File

@@ -165,7 +165,7 @@ jobs:
- name: Test ResNet-18
run: PYTHONPATH=. python3 extra/torch_backend/example.py
- name: Test Ops with TINY_BACKEND (expect failure)
run: PYTHONPATH=. TINY_BACKEND=1 pytest test/test_ops.py || true
run: PYTHONPATH=. TINY_BACKEND=1 python3 -m pytest test/test_ops.py || true
- name: Test beautiful_mnist in torch with TINY_BACKEND (expect failure)
run: PYTHONPATH=. TORCH_DEBUG=1 TINY_BACKEND=1 python3 examples/other_mnist/beautiful_mnist_torch.py || true