CI: set FOFREEXIT_QPDF_PATH cho buoc test (test form/qpdf chay voi cwd = thu muc crate nen khong tu thay qpdf/ o root repo)
Build Windows portable / build (push) Canceled after 0s

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
2026-08-08 02:46:23 +07:00
co-authored by Claude Fable 5
parent b457c86d4f
commit b251e677a1
+4
View File
@@ -45,8 +45,12 @@ jobs:
# Fail test = fail build, không publish bản hỏng.
# --test-threads=1: PDFium serialize qua 1 mutex toàn cục; 1 test panic
# khi đang giữ lock sẽ poison mutex làm mọi test song song chết oan.
# FOFREEXIT_QPDF_PATH: test chạy với cwd = thư mục crate nên không tự
# thấy qpdf/ ở root repo (test form/qpdf cần).
- name: Run engine tests
run: cargo test -p ff-engine -- --test-threads=1
env:
FOFREEXIT_QPDF_PATH: ${{ github.workspace }}\qpdf\bin\qpdf.exe
- name: Build release
working-directory: app/src-tauri