Fix: use system python for ARM64
Python CI (ARM64 Optimized) / build-and-test (push) Failing after 8s
CI Test on ARM64 / build (push) Successful in 11s

This commit is contained in:
2026-07-30 08:44:07 +07:00
parent 6c94787260
commit 675dad3557
+10 -9
View File
@@ -1,4 +1,4 @@
name: Python CI
name: Python CI (ARM64 Optimized)
on: [push, pull_request]
@@ -9,18 +9,19 @@ jobs:
- name: Checkout mã nguồn
uses: actions/checkout@v3
- name: Cài đặt Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Kiểm tra Python hệ thống
run: |
echo "✅ Sử dụng Python có sẵn trong runner"
python3 --version
pip3 --version
- name: Cài đặt dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
python3 -m pip install --upgrade pip
pip3 install -r requirements.txt
- name: Kiểm tra định dạng mã (Linting)
run: ruff check .
run: python3 -m ruff check .
- name: Chạy Unit Tests
run: pytest -v
run: python3 -m pytest -v