From 675dad3557df83883ef2d0a5ee5fd6d4ee8c9ed8 Mon Sep 17 00:00:00 2001 From: trungt2 Date: Thu, 30 Jul 2026 08:44:07 +0700 Subject: [PATCH] Fix: use system python for ARM64 --- .gitea/workflows/ci.yml | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index bcb301f..69f9b09 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -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 \ No newline at end of file + run: python3 -m pytest -v \ No newline at end of file