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] on: [push, pull_request]
@@ -9,18 +9,19 @@ jobs:
- name: Checkout mã nguồn - name: Checkout mã nguồn
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Cài đặt Python - name: Kiểm tra Python hệ thống
uses: actions/setup-python@v4 run: |
with: echo "✅ Sử dụng Python có sẵn trong runner"
python-version: '3.10' python3 --version
pip3 --version
- name: Cài đặt dependencies - name: Cài đặt dependencies
run: | run: |
python -m pip install --upgrade pip python3 -m pip install --upgrade pip
pip install -r requirements.txt pip3 install -r requirements.txt
- name: Kiểm tra định dạng mã (Linting) - name: Kiểm tra định dạng mã (Linting)
run: ruff check . run: python3 -m ruff check .
- name: Chạy Unit Tests - name: Chạy Unit Tests
run: pytest -v run: python3 -m pytest -v