mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-10 19:38:39 +00:00
26 lines
637 B
YAML
26 lines
637 B
YAML
name: 'Run Copilot E2E Test'
|
|
description: 'Run Copilot E2E Test'
|
|
inputs:
|
|
script:
|
|
description: 'Script to run'
|
|
default: 'yarn affine @affine-test/affine-cloud-copilot e2e --forbid-only'
|
|
required: false
|
|
|
|
runs:
|
|
using: 'composite'
|
|
steps:
|
|
- name: Server Copilot E2E Test
|
|
shell: bash
|
|
run: ${{ inputs.script }}
|
|
env:
|
|
COPILOT: true
|
|
DEV_SERVER_URL: http://localhost:8080
|
|
|
|
- name: Upload test results
|
|
if: ${{ failure() }}
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: test-results-e2e-server-copilot
|
|
path: ./test-results
|
|
if-no-files-found: ignore
|