Creator App Tests / PR Spam Gate (push) Skipped
Frontend Tests / PR Spam Gate (push) Skipped
NPM Format (website & console) / PR Spam Gate (push) Skipped
Pre-commit Checks / PR Spam Gate (push) Skipped
QwenPaw Creator Plugin Release / check-version (push) Canceled after 0s
QwenPaw Creator Plugin Release / upload-oss (push) Canceled after 0s
Tests / PR Spam Gate (push) Skipped
CodeQL / CodeQL (python) (push) Canceled after 0s
CodeQL / CodeQL (typescript) (push) Canceled after 0s
Creator App Tests / Creator Backend Tests (push) Canceled after 0s
Creator App Tests / Creator UI Build & Tests (push) Canceled after 0s
E2E Smoke Tests / Playwright UI Smoke (push) Canceled after 0s
Frontend Tests / Detect console changes (push) Canceled after 0s
NPM Format (website & console) / website format check (push) Canceled after 0s
NPM Format (website & console) / console format check (push) Canceled after 0s
Pre-commit Checks / Pre-commit (push) Canceled after 0s
QwenPaw Data Plugin Release / check-version (push) Canceled after 0s
Tests / Detect code changes (push) Canceled after 0s
Frontend Tests / Vitest Unit Tests (push) Canceled after 0s
Frontend Tests / Frontend Summary (push) Canceled after 0s
QwenPaw Data Plugin Release / upload-oss (push) Canceled after 0s
Tests / Maintainer Approval (push) Canceled after 0s
Tests / Unit Tests - py3.11 - macos-latest (push) Canceled after 0s
Tests / Unit Tests - py3.11 - ubuntu-latest (push) Canceled after 0s
Tests / Unit Tests - py3.13 - ubuntu-latest (push) Canceled after 0s
Tests / Unit Tests - py3.11 - windows-latest (push) Canceled after 0s
Tests / Contract Tests - py3.11 - macos-latest (push) Canceled after 0s
Tests / Contract Tests - py3.11 - ubuntu-latest (push) Canceled after 0s
Tests / Contract Tests - py3.13 - ubuntu-latest (push) Canceled after 0s
Tests / Contract Tests - py3.11 - windows-latest (push) Canceled after 0s
Tests / Integrated Tests - py3.11 - macos-latest - p0 (push) Canceled after 0s
Tests / Integrated Tests - py3.11 - macos-latest - p1 (push) Canceled after 0s
Tests / Integrated Tests - py3.11 - macos-latest - p2 (push) Canceled after 0s
Tests / Integrated Tests - py3.11 - ubuntu-latest - fallback (push) Canceled after 0s
Tests / Integrated Tests - py3.11 - ubuntu-latest - p0 (push) Canceled after 0s
Tests / Integrated Tests - py3.11 - ubuntu-latest - p1 (push) Canceled after 0s
Tests / Integrated Tests - py3.11 - ubuntu-latest - p2 (push) Canceled after 0s
Tests / Integrated Tests - py3.13 - ubuntu-latest - p0 (push) Canceled after 0s
Tests / Integrated Tests - py3.13 - ubuntu-latest - p1 (push) Canceled after 0s
Tests / Integrated Tests - py3.13 - ubuntu-latest - p2 (push) Canceled after 0s
Tests / Integrated Tests - py3.11 - windows-latest - p0 (push) Canceled after 0s
Tests / Integrated Tests - py3.11 - windows-latest - p1 (push) Canceled after 0s
Tests / Integrated Tests - py3.11 - windows-latest - p2 (push) Canceled after 0s
Tests / Coverage Report (push) Canceled after 0s
Tests / Test Summary (push) Canceled after 0s
84 lines
2.4 KiB
YAML
84 lines
2.4 KiB
YAML
# One-click release verification for fork repositories.
|
|
# Builds the wheel, then runs all verification jobs (pip, Docker, script install).
|
|
#
|
|
# Docker uses public base images (node:20-slim, ghcr.io/astral-sh/uv) instead of
|
|
# the private ACR registry, so forks can validate the full pipeline without credentials.
|
|
#
|
|
# Usage: trigger manually via Actions → Fork Release Verification → Run workflow.
|
|
|
|
name: Fork Release Verification
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
# ── Build wheel (same steps as publish-pypi.yml build job) ─────────────────
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v5
|
|
with:
|
|
python-version: "3.11"
|
|
|
|
- name: Set up Node (for console build)
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version: "20"
|
|
cache: "npm"
|
|
cache-dependency-path: console/package-lock.json
|
|
|
|
- name: Build console frontend
|
|
run: |
|
|
cd console && npm ci && npm run build
|
|
|
|
- name: Copy console build into package
|
|
run: |
|
|
rm -rf src/qwenpaw/console/*
|
|
mkdir -p src/qwenpaw/console
|
|
cp -R console/dist/* src/qwenpaw/console/
|
|
|
|
- name: Bundle docs into package
|
|
run: |
|
|
rm -rf src/qwenpaw/docs
|
|
mkdir -p src/qwenpaw/docs
|
|
cp website/public/docs/*.md src/qwenpaw/docs/
|
|
|
|
- name: Install build dependencies
|
|
run: |
|
|
python -m pip install --upgrade pip
|
|
pip install setuptools wheel build
|
|
|
|
- name: Build package
|
|
run: python -m build
|
|
|
|
- name: Upload dist artifacts
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: qwenpaw-dist
|
|
path: dist/
|
|
retention-days: 7
|
|
|
|
- name: Upload version metadata
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: qwenpaw-version
|
|
path: src/qwenpaw/__version__.py
|
|
retention-days: 7
|
|
|
|
# ── Run all verification jobs ──────────────────────────────────────────────
|
|
verify:
|
|
needs: [build]
|
|
uses: ./.github/workflows/release-verify.yml
|
|
with:
|
|
verify_pip: true
|
|
verify_docker: true
|
|
verify_script_install: true
|
|
docker_node_image: "node:20-slim"
|
|
docker_uv_image: "ghcr.io/astral-sh/uv:latest"
|