[ksqlDb.RestApi.Client]: integration tests improvements #84
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: .NET | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
env: | |
ksqlDB_Test_Project_Path: Tests/ksqlDB.RestApi.Client.Tests/ksqlDb.RestApi.Client.Tests.csproj | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup .NET 8.0 | |
uses: actions/setup-dotnet@v2 | |
with: | |
dotnet-version: 8.0.x | |
- name: Setup .NET 7.0 | |
uses: actions/setup-dotnet@v2 | |
with: | |
dotnet-version: 7.0.x | |
- name: Setup .NET 6.0 | |
uses: actions/setup-dotnet@v2 | |
with: | |
dotnet-version: 6.0.x | |
- name: Clean | |
run: dotnet clean ksqlDb.RestApi.Client.sln --configuration Release && dotnet nuget locals all --clear | |
- name: Install dependencies | |
run: dotnet restore ksqlDb.RestApi.Client.sln | |
- name: Build with dotnet | |
run: dotnet build ksqlDb.RestApi.Client.sln --configuration Release | |
# Test | |
- name: Execute ksqlDb RestApi Client Unit Tests | |
run: dotnet test ./Tests/ksqlDB.RestApi.Client.Tests/ksqlDb.RestApi.Client.Tests.csproj |