test(e2e): phase-2 add office and zip smoke coverage

This commit is contained in:
kl
2026-03-04 11:11:06 +08:00
parent a0d78c57e3
commit 8f9dda5a8d
8 changed files with 87 additions and 6 deletions

View File

@@ -31,10 +31,15 @@ jobs:
cache: 'npm'
cache-dependency-path: tests/e2e/package-lock.json
- name: Install LibreOffice
- name: Install LibreOffice + zip
run: |
sudo apt-get update
sudo apt-get install -y libreoffice
sudo apt-get install -y libreoffice zip
- name: Setup Python deps for office fixtures
run: |
python3 -m pip install --upgrade pip
pip3 install python-docx openpyxl python-pptx
- name: Build kkFileView
run: mvn -q -pl server -DskipTests package
@@ -46,7 +51,9 @@ jobs:
npx playwright install --with-deps chromium
- name: Generate fixtures
run: node tests/e2e/scripts/generate-fixtures.mjs
run: |
node tests/e2e/scripts/generate-fixtures.mjs
python3 tests/e2e/scripts/generate-office-fixtures.py
- name: Start fixture server
run: |