解决MySql布尔型新旧版本兼容问题,采用枚举来表示布尔型的数据表。由正向工程赋值
大石头
authored at
2018-05-15 21:21:05
X
name: test
on:
push:
branches: [ '*' ]
pull_request:
branches: [ '*' ]
workflow_dispatch:
jobs:
test:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Setup dotNET
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
6.x
7.x
8.x
9.x
10.x
- name: Build
run: |
dotnet build -c Release
- name: Test
# 使用单线程串行执行,避免测试间共享资源(端口/文件/静态状态)冲突失败
env:
XUNIT_MAX_PARALLEL_THREADS: 1
run: |
dotnet test XUnitTest.Core\XUnitTest.Core.csproj -f net8.0 --no-build
dotnet test XUnitTest.Core\XUnitTest.Core.csproj -f net8.0-windows --no-build
dotnet test XUnitTest.Core\XUnitTest.Core.csproj -f net9.0 --no-build
dotnet test XUnitTest.Core\XUnitTest.Core.csproj -f net10.0 --no-build
dotnet test XUnitTest.Core\XUnitTest.Core.csproj -f net10.0-windows --no-build
|