Skip to content

Commit 04e0eb5

Browse files
Run only .net core tests on ubuntu-latest
1 parent 233006f commit 04e0eb5

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

.github/workflows/Kafka-Integration-Tests.yml

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -48,18 +48,13 @@ jobs:
4848
- name: Install libgdiplus
4949
run: sudo apt-get install -y libgdiplus
5050

51-
- name: Create temporary solution with .NET 8 projects
51+
- name: Create temporary solution with Kafka projects
5252
run: |
5353
dotnet new sln --name $SolutionFileName --output dotnet --force
54-
dotnet msbuild dotnet/DotNetStandardClasses.sln /t:DumpProjectsAndCoreTests -p:DumpSolutionName=$SolutionFileName /m:1 -p:DumpSolutionTargetFrameworkDefault=net8
55-
56-
- name: Restore packages
57-
run: dotnet restore $SolutionFile
58-
59-
- name: Build
60-
run: dotnet build $SolutionFile --no-restore --configuration $Configuration
61-
54+
dotnet sln $SolutionFile add dotnet/src/extensions/kafka/src/Core.Messaging.csproj
55+
dotnet sln $SolutionFile add dotnet/src/extensions/kafka/test/DotNetCoreKafkaTest/DotNetCoreKafkaTest.csproj
56+
6257
- name: Test Kafka
6358
env:
6459
KAFKA_TEST_ENABLED: "true"
65-
run: dotnet test $SolutionFile --no-restore --no-build --configuration $Configuration --filter FullyQualifiedName~KafkaIntegrationTest
60+
run: dotnet test $SolutionFile --configuration $Configuration

0 commit comments

Comments
 (0)