38 lines
997 B
YAML
38 lines
997 B
YAML
name: Acceptance (end-to-end TCP)
|
|
|
|
on:
|
|
push:
|
|
paths:
|
|
- "server/**"
|
|
- ".github/workflows/acceptance.yml"
|
|
pull_request:
|
|
paths:
|
|
- "server/**"
|
|
- ".github/workflows/acceptance.yml"
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
acceptance:
|
|
name: End-to-end TCP acceptance
|
|
runs-on: [self-hosted, Linux, X64, co-server]
|
|
steps:
|
|
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262
|
|
with:
|
|
persist-credentials: false
|
|
|
|
- name: Enforce repository runtime policy
|
|
run: bash server/scripts/verify-no-legacy-runtime.sh
|
|
|
|
- uses: actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9
|
|
env:
|
|
DOTNET_INSTALL_DIR: ${{ runner.tool_cache }}/dotnet
|
|
with:
|
|
dotnet-version: "8.0.x"
|
|
|
|
- name: Run end-to-end acceptance harness
|
|
working-directory: server
|
|
run: dotnet run --project acceptance/CommonwealthOnline.Server.Acceptance.csproj -c Release
|