源码快照 @ 2026-09-01 (source-only, 剔除非源码素材)
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
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
This commit is contained in:
commit
1a3a4ccde1
4652 files changed
+1891610
No files matched your search
@@ -0,0 +1,182 @@
|
||||
name: PR preview tests
|
||||
|
||||
# Fork-local preview of the Tests matrix from agentscope-ai/QwenPaw's
|
||||
# `.github/workflows/tests.yml`, WITHOUT its `approval-gate` (the upstream
|
||||
# `maintainer-approved` environment that gates every Tests run behind a manual
|
||||
# maintainer approval). Purpose: catch cross-OS regressions on this branch
|
||||
# *before* asking upstream to re-approve, so we don't loop on "approve ->
|
||||
# red -> fix -> re-approve".
|
||||
#
|
||||
# Triggers on any push to a `backend-*` branch (this PR's source branch family)
|
||||
# and on manual dispatch. Runs the same 3 matrices upstream runs - unit,
|
||||
# contract, integrated - but mirrors upstream's PR-gate marker
|
||||
# (`integration and p0`) for the integrated tier. Coverage/artifact upload is
|
||||
# omitted (that's a downstream coverage-report concern, not a pass/fail gate).
|
||||
# The npm console build from upstream tests.yml is omitted too: tests under
|
||||
# tests/unit / tests/contract / tests/integration do not import the built
|
||||
# frontend static assets (verified); `console` is an API route name there, not
|
||||
# console/dist.
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- 'backend-regression'
|
||||
- 'backend-*'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
unit-tests:
|
||||
name: Unit Tests - py${{ matrix.python-version }} - ${{ matrix.os }}
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
# Faithful copy of upstream tests.yml's unit-tests matrix.
|
||||
python-version: ["3.11", "3.13"]
|
||||
os: [ubuntu-latest]
|
||||
include:
|
||||
- os: macos-latest
|
||||
python-version: "3.11"
|
||||
- os: windows-latest
|
||||
python-version: "3.11"
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Python ${{ matrix.python-version }}
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
cache: 'pip'
|
||||
|
||||
- name: Install dependencies
|
||||
shell: bash
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
# Pin setuptools <82 on EVERY platform. setuptools >= 82 removes
|
||||
# pkg_resources entirely, and lark-oapi's namespace packages still
|
||||
# call pkg_resources.declare_namespace at import time. On a fresh
|
||||
# install the resulting ImportError falls through lark-oapi's
|
||||
# pkgutil fallback and works, but the macOS runners upgrade the
|
||||
# legacy setuptools (65.5.0) in-place, leaving a half-removed
|
||||
# pkg_resources (module present, declare_namespace gone) that
|
||||
# raises AttributeError the fallback does not catch — crashing the
|
||||
# Feishu mock IM integration tests. Pinning everywhere removes
|
||||
# that failure mode and future-proofs the other platforms too
|
||||
# (they already resolved to 84.0.0 with all tests green in the
|
||||
# verification run). The pin must ride in the SAME pip command as
|
||||
# the install: a separate `pip install "setuptools<82"` step
|
||||
# beforehand gets upgraded away by this resolution again
|
||||
# (reproduced with pip 26.2.1; see CI run 31571533395).
|
||||
pip install -e ".[dev,test,full]" "setuptools<82"
|
||||
|
||||
- name: Run unit tests
|
||||
shell: bash
|
||||
run: pytest tests/unit -v
|
||||
|
||||
contract-tests:
|
||||
name: Contract Tests - py${{ matrix.python-version }} - ${{ matrix.os }}
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
# Faithful copy of upstream tests.yml's contract-tests matrix.
|
||||
python-version: ["3.11", "3.13"]
|
||||
os: [ubuntu-latest]
|
||||
include:
|
||||
- os: macos-latest
|
||||
python-version: "3.11"
|
||||
- os: windows-latest
|
||||
python-version: "3.11"
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Python ${{ matrix.python-version }}
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
cache: 'pip'
|
||||
|
||||
- name: Install dependencies
|
||||
shell: bash
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
# Pin setuptools <82 on EVERY platform. setuptools >= 82 removes
|
||||
# pkg_resources entirely, and lark-oapi's namespace packages still
|
||||
# call pkg_resources.declare_namespace at import time. On a fresh
|
||||
# install the resulting ImportError falls through lark-oapi's
|
||||
# pkgutil fallback and works, but the macOS runners upgrade the
|
||||
# legacy setuptools (65.5.0) in-place, leaving a half-removed
|
||||
# pkg_resources (module present, declare_namespace gone) that
|
||||
# raises AttributeError the fallback does not catch — crashing the
|
||||
# Feishu mock IM integration tests. Pinning everywhere removes
|
||||
# that failure mode and future-proofs the other platforms too
|
||||
# (they already resolved to 84.0.0 with all tests green in the
|
||||
# verification run). The pin must ride in the SAME pip command as
|
||||
# the install: a separate `pip install "setuptools<82"` step
|
||||
# beforehand gets upgraded away by this resolution again
|
||||
# (reproduced with pip 26.2.1; see CI run 31571533395).
|
||||
pip install -e ".[dev,test,full]" "setuptools<82"
|
||||
|
||||
- name: Run contract tests
|
||||
shell: bash
|
||||
run: pytest tests/contract -v
|
||||
|
||||
integrated-tests:
|
||||
name: Integrated Tests - py${{ matrix.python-version }} - ${{ matrix.os }}
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
# Faithful copy of upstream tests.yml's integrated-tests matrix.
|
||||
python-version: ["3.11", "3.13"]
|
||||
os: [ubuntu-latest]
|
||||
include:
|
||||
- os: macos-latest
|
||||
python-version: "3.11"
|
||||
- os: windows-latest
|
||||
python-version: "3.11"
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Python ${{ matrix.python-version }}
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
cache: 'pip'
|
||||
|
||||
- name: Install dependencies
|
||||
shell: bash
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
# Pin setuptools <82 on EVERY platform. setuptools >= 82 removes
|
||||
# pkg_resources entirely, and lark-oapi's namespace packages still
|
||||
# call pkg_resources.declare_namespace at import time. On a fresh
|
||||
# install the resulting ImportError falls through lark-oapi's
|
||||
# pkgutil fallback and works, but the macOS runners upgrade the
|
||||
# legacy setuptools (65.5.0) in-place, leaving a half-removed
|
||||
# pkg_resources (module present, declare_namespace gone) that
|
||||
# raises AttributeError the fallback does not catch — crashing the
|
||||
# Feishu mock IM integration tests. Pinning everywhere removes
|
||||
# that failure mode and future-proofs the other platforms too
|
||||
# (they already resolved to 84.0.0 with all tests green in the
|
||||
# verification run). The pin must ride in the SAME pip command as
|
||||
# the install: a separate `pip install "setuptools<82"` step
|
||||
# beforehand gets upgraded away by this resolution again
|
||||
# (reproduced with pip 26.2.1; see CI run 31571533395).
|
||||
pip install -e ".[dev,test,full]" "setuptools<82"
|
||||
|
||||
# Upstream gates the integrated tier with `-m "integration and p0"` for
|
||||
# pull_request events (fast feedback). Fork pushes are not PR events, but
|
||||
# the intent here is the same pre-merge signal, so we hard-code p0.
|
||||
# Non-Linux runners get the same lifted HTTP timeout upstream applies.
|
||||
- name: Run integrated tests
|
||||
shell: bash
|
||||
env:
|
||||
QWENPAW_INTEGRATION_HTTP_TIMEOUT: ${{ matrix.os != 'ubuntu-latest' && '120' || '' }}
|
||||
run: |
|
||||
pytest tests/integration -v \
|
||||
-n auto --dist=loadscope --timeout=300 \
|
||||
-m "integration and p0"
|
||||
Reference in new issue
Block a user