name: Existing Docker-host KVM diagnostic on: workflow_dispatch: jobs: existing-kvm-diagnostic: runs-on: ubuntu-latest timeout-minutes: 5 env: DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1" DOTNET_NOLOGO: "1" steps: - name: Checkout diagnostic source uses: actions/checkout@v7 - name: Setup .NET for the diagnostic helper uses: actions/setup-dotnet@v6 with: dotnet-version: "10.0.x" - name: Test only the existing Docker-host KVM device run: dotnet run --file tools/ci/ExistingKvmDiagnostic.cs -- --run --output artifacts/existing-kvm - name: Always retry cleanup of this diagnostic's owned container if: always() run: dotnet run --file tools/ci/ExistingKvmDiagnostic.cs -- --cleanup --output artifacts/existing-kvm - name: Preserve KVM diagnostic evidence if: always() uses: actions/upload-artifact@v3 with: name: existing-docker-host-kvm-diagnostic path: artifacts/existing-kvm/ if-no-files-found: error retention-days: 7