feat(ci): add model/headless verification, use --no-ff merge strategy
- Add verify-image job in release.yml with: - Headless environment verification (DISPLAY, Xvfb, LibreOffice, Inkscape, Calibre) - Model download verification (HuggingFace cache, ONNX models, offline mode) - Basic functionality verification (container startup, tool availability) - Add Test 3 and Test 4 in upstream-sync.yml for headless/model verification - Update auto-upstream-sync.yml to use git merge --no-ff for better history tracking
This commit is contained in:
parent
89c121bdf9
commit
d5c9bfa320
3 changed files with 329 additions and 8 deletions
4
.github/workflows/auto-upstream-sync.yml
vendored
4
.github/workflows/auto-upstream-sync.yml
vendored
|
|
@ -152,8 +152,8 @@ jobs:
|
|||
run: |
|
||||
echo "🔄 Merging upstream/${{ env.UPSTREAM_BRANCH }} into ${{ env.TARGET_BRANCH }}..."
|
||||
|
||||
# 嘗試自動 merge
|
||||
if git merge upstream/${{ env.UPSTREAM_BRANCH }} --no-edit -m "🔄 Auto-merge upstream changes ($(date +'%Y-%m-%d'))"; then
|
||||
# 嘗試自動 merge(使用 --no-ff 確保創建 merge commit,保留完整歷史)
|
||||
if git merge upstream/${{ env.UPSTREAM_BRANCH }} --no-ff --no-edit -m "🔄 Merge upstream/${{ env.UPSTREAM_BRANCH }} ($(date +'%Y-%m-%d'))"; then
|
||||
echo "✅ Merge successful!"
|
||||
echo "merge_success=true" >> $GITHUB_OUTPUT
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue