xunit 集成测试在 .net core github-actions 上永远不会结束

mak*_*ier 6 xunit.net .net-core github-actions

您好,我有一个用 .net 制作的网络应用程序,我不确定问题到底出在哪里。如果是我的测试,或者 github 操作或者其他什么

我为构建配置了 github-actions。我的操作系统是Windows。

我的工作流程文件如下:

name: .NET Core

on:
  push:
    branches: [ master, develop ]
  pull_request:
    branches: [ master, develop ]

jobs:
  build:

    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v2
    - name: Setup .NET Core
      uses: actions/setup-dotnet@v1
      with:
        dotnet-version: 3.1.101
    - name: Install dependencies
      run: dotnet restore
    - name: Build
      run: dotnet build --configuration Release --no-restore
    - name: Test
      run: dotnet test
Run Code Online (Sandbox Code Playgroud)

dotnet test当我在计算机上运行命令时,我得到了这个

在此输入图像描述

当 github-actions 启动时,集成测试永远不会结束。

在此输入图像描述

测试执行日志的整个文件可以在这里找到

有人能帮我吗?