Files
MoShiro/.woodpecker/e2e.yml
T
justme 2d31bd091e
ci/woodpecker/push/web-build Pipeline was successful
ci/woodpecker/push/verify Pipeline was successful
ci/woodpecker/push/e2e Pipeline was successful
ci/woodpecker/push/dev-image Pipeline failed
ci: gate on the fast tests (about 20s); slow end-to-end tests run in parallel with the image build [CI]
2026-10-09 14:33:03 +08:00

32 lines
815 B
YAML

labels:
ci: domain-linux-native
platform: linux/amd64
clone:
- name: git
image: plugin-git
settings:
lfs: false
when:
- event: pull_request
- event: push
branch: main
# 等 verify 编译完、快的测试过了再跑(共用它的增量编译缓存,不重新编译);
# 不挡出镜像:dev-image 只等 verify 和 web-build,这个和出镜像并行,失败照样红
depends_on:
- verify
steps:
- name: backend-e2e-tests
image: bash
# [SKIP TESTS] 和 verify 一样,跳过后端测试
when:
- evaluate: 'not (CI_COMMIT_MESSAGE contains "[SKIP TESTS]")'
environment:
NUGET_PACKAGES: /home/justme/.nuget/packages
commands:
# 标了 Category=Slow 的端到端测试,见 ci/verify-backend.sh
- bash ci/verify-backend.sh slow