diff --git a/.github/workflows/dotnet-ci.yml b/.github/workflows/dotnet-ci.yml index bd8e5c29..359a27ba 100644 --- a/.github/workflows/dotnet-ci.yml +++ b/.github/workflows/dotnet-ci.yml @@ -14,7 +14,7 @@ jobs: strategy: matrix: os: [windows-latest, ubuntu-latest, macos-latest] - python: ["3.9", "3.10", "3.11", "3.12", "3.13.0-rc.1"] + python: ["3.9", "3.10", "3.11", "3.12", "3.13.0-rc1"] dotnet: ["8.0.x"] include: - os: windows-latest @@ -36,6 +36,7 @@ jobs: uses: actions/setup-python@v5 with: python-version: "${{ matrix.python }}" + - name: Setup .NET uses: actions/setup-dotnet@v4 with: @@ -50,11 +51,15 @@ jobs: ${{ runner.os }}-${{ matrix.dotnet }}-nuget- - name: Restore dependencies - run: dotnet restore + run: dotnet restore /v:n working-directory: src + env: + PYTHON_VERSION: ${{ steps.installpython.outputs.python-version }} + - name: Build run: dotnet build --no-restore working-directory: src + - name: Test run: dotnet test --no-build --verbosity normal --collect "XPlat Code Coverage" --results-directory test-results --logger "trx;LogFileName=test-results-${{ matrix.os }}-${{ matrix.python }}-${{ matrix.dotnet }}.trx" working-directory: src diff --git a/Directory.Build.props b/Directory.Build.props new file mode 100644 index 00000000..9809a4f1 --- /dev/null +++ b/Directory.Build.props @@ -0,0 +1,6 @@ + + + 3.12.4 + $(PYTHON_VERSION) + + diff --git a/samples/Aspire/CSnakesAspire.ApiService/CSnakesAspire.ApiService.csproj b/samples/Aspire/CSnakesAspire.ApiService/CSnakesAspire.ApiService.csproj index fcbf5acb..e4240893 100644 --- a/samples/Aspire/CSnakesAspire.ApiService/CSnakesAspire.ApiService.csproj +++ b/samples/Aspire/CSnakesAspire.ApiService/CSnakesAspire.ApiService.csproj @@ -25,7 +25,7 @@ - + diff --git a/samples/simple/QuickConsoleTest/QuickConsoleTest.csproj b/samples/simple/QuickConsoleTest/QuickConsoleTest.csproj index 61a2aa2c..2d879477 100644 --- a/samples/simple/QuickConsoleTest/QuickConsoleTest.csproj +++ b/samples/simple/QuickConsoleTest/QuickConsoleTest.csproj @@ -8,7 +8,7 @@ - + diff --git a/samples/simple/WebApp/WebApp.csproj b/samples/simple/WebApp/WebApp.csproj index 6926a8f9..8f7e2acc 100644 --- a/samples/simple/WebApp/WebApp.csproj +++ b/samples/simple/WebApp/WebApp.csproj @@ -12,7 +12,7 @@ - + diff --git a/src/CSnakes.Runtime.Tests/CSnakes.Runtime.Tests.csproj b/src/CSnakes.Runtime.Tests/CSnakes.Runtime.Tests.csproj index 622d0d39..e846b385 100644 --- a/src/CSnakes.Runtime.Tests/CSnakes.Runtime.Tests.csproj +++ b/src/CSnakes.Runtime.Tests/CSnakes.Runtime.Tests.csproj @@ -15,7 +15,7 @@ runtime; build; native; contentfiles; analyzers; buildtransitive - + all diff --git a/src/Directory.Build.props b/src/Directory.Build.props index 985a5699..f52548a5 100644 --- a/src/Directory.Build.props +++ b/src/Directory.Build.props @@ -1,37 +1,40 @@ - - net8.0 - enable - enable - latest - true - - - - True - \ - - - True - \ - - + - - Anthony Shaw, Aaron Powell - https://github.com/tonybaloney/CSnakes - logo.jpeg - README.md - https://github.com/tonybaloney/CSnakes - 1.0.17 + + net8.0 + enable + enable + latest + true + - true - true - embedded - true - + + + True + \ + + + True + \ + + - - False - + + Anthony Shaw, Aaron Powell + https://github.com/tonybaloney/CSnakes + logo.jpeg + README.md + https://github.com/tonybaloney/CSnakes + 1.0.17 + + true + true + embedded + true + + + + False + diff --git a/src/Integration.Tests/Integration.Tests.csproj b/src/Integration.Tests/Integration.Tests.csproj index 8ede156a..b0711123 100644 --- a/src/Integration.Tests/Integration.Tests.csproj +++ b/src/Integration.Tests/Integration.Tests.csproj @@ -3,63 +3,8 @@ false true - true - - - - - - - - - - - - - - - - - - - - - Always - - - Always - - - Always - - - Always - - - Always - - - Always - - - Always - - - Always - - - Always - - - Always - - - Always - - - Always - - + true + @@ -68,7 +13,7 @@ - + @@ -77,15 +22,18 @@ - - - - + + + + - - - Always - - - + + + Always + + + Always + + + diff --git a/src/Profile/Profile.csproj b/src/Profile/Profile.csproj index 0e3eabb6..cdbd1a59 100644 --- a/src/Profile/Profile.csproj +++ b/src/Profile/Profile.csproj @@ -20,7 +20,7 @@ - +