sqlite-web 0.7.2
gitea.db
action_run_job
Create
Query
access
access_token
action
action_artifact
action_run
action_run_index
action_run_job
action_runner
action_runner_token
action_schedule
action_schedule_spec
action_task
action_task_output
action_task_step
action_tasks_version
action_variable
app_state
attachment
auth_token
badge
branch
collaboration
comment
commit_status
commit_status_index
commit_status_summary
commit_sync_log
commit_sync_status
dbfs_data
dbfs_meta
deploy_key
email_address
email_hash
external_login_user
follow
gpg_key
gpg_key_import
hook_task
issue
issue_assignees
issue_content_history
issue_dependency
issue_index
issue_label
issue_pin
issue_user
issue_watch
label
language_stat
lfs_lock
lfs_meta_object
login_source
milestone
mirror
notice
notification
oauth2_application
oauth2_authorization_code
oauth2_grant
org_user
package
package_blob
package_blob_upload
package_cleanup_rule
package_file
package_property
package_version
project
project_board
project_issue
protected_branch
protected_tag
public_key
pull_auto_merge
pull_request
push_mirror
reaction
release
renamed_branch
repo_archiver
repo_hidden_file
repo_indexer_status
repo_license
repo_redirect
repo_topic
repo_transfer
repo_unit
repository
review
review_state
secret
session
sqlite_sequence
star
stopwatch
system_setting
task
team
team_invite
team_repo
team_unit
team_user
topic
tracked_time
two_factor
upload
user
user_badge
user_blocking
user_open_id
user_redirect
user_setting
version
watch
webauthn_credential
webhook
Toggle helper tables
Structure
Content
Query
Insert
Drop
Import
Export
Delete row 7915 from action_run_job
id
7915
run_id
6715
repo_id
6
owner_id
5
commit_sha
b7eb415d7a9689f1efec941bcb2dcd7d098e9c28
is_fork_pull_request
0
name
集成测试
attempt
1
workflow_payload
name: Integration Tests "on": push:
name: Integration Tests "on": push: branches: [main, develop, 'feature/**', 'claude/**'] pull_request: branches: [main, develop] workflow_dispatch: inputs: run_all_tests: description: '运行所有集成测试(包括慢速测试)' required: false default: 'false' type: boolean env: NODE_VERSION: "20" PNPM_VERSION: "8" jobs: integration-tests: name: 集成测试 runs-on: ubuntu-latest if: needs.detect-changes.outputs.backend == 'true' steps: - uses: actions/checkout@v4 - name: 安装 pnpm uses: pnpm/action-setup@v4 with: version: ${{ env.PNPM_VERSION }} - name: 设置 Node.js uses: actions/setup-node@v4 with: cache: pnpm node-version: ${{ env.NODE_VERSION }} - name: 安装依赖 run: pnpm install --frozen-lockfile - name: 构建共享包 run: pnpm --filter @juhi/shared run build - name: 启动测试服务 run: | docker-compose -f docker-compose.test.yml up -d echo "等待服务就绪..." sleep 30 - name: 检查服务健康状态 run: | docker-compose -f docker-compose.test.yml ps # 检查 PostgreSQL docker exec juhi-postgres-test pg_isready -U juhi_test -d juhi_test || exit 1 echo "✅ PostgreSQL 就绪" # 检查 Redis docker exec juhi-redis-test redis-cli ping || exit 1 echo "✅ Redis 就绪" - name: 生成 Prisma Client run: pnpm --filter juhi-api run db:generate - name: 执行数据库迁移 run: | cd backend npx prisma migrate deploy env: DATABASE_URL: postgresql://juhi_test:test_password@localhost:5433/juhi_test - name: 运行集成测试 run: pnpm --filter juhi-api run test:run env: DATABASE_URL: postgresql://juhi_test:test_password@localhost:5433/juhi_test REDIS_URL: redis://localhost:6380 KAFKA_BROKERS: localhost:9095 MINIO_ENDPOINT: localhost MINIO_PORT: 9002 MINIO_ACCESS_KEY: test_minio MINIO_SECRET_KEY: test_password JWT_SECRET: test-jwt-secret JWT_REFRESH_SECRET: test-jwt-refresh-secret NODE_ENV: test - if: failure() name: 收集测试日志 run: | docker-compose -f docker-compose.test.yml logs > docker-logs.txt - if: failure() name: 上传 Docker 日志 uses: actions/upload-artifact@v4 with: name: docker-logs path: docker-logs.txt retention-days: "7" - if: always() name: 停止测试服务 run: docker-compose -f docker-compose.test.yml down -v - if: always() name: 上传测试结果 uses: actions/upload-artifact@v4 with: name: integration-test-results path: backend/test-results/ retention-days: "7"
...
job_id
integration-tests
needs
["detect-changes","unit-tests"]
runs_on
["ubuntu-latest"]
task_id
6827
status
4
started
1773833352
stopped
1773833352
created
1773832746
updated
1773833352
raw_concurrency
is_concurrency_evaluated
1
concurrency_group
concurrency_cancel
0
Delete
Cancel