Skip to content

Commit bea6e0a

Browse files
committed
Fix tests
1 parent 978b752 commit bea6e0a

File tree

3 files changed

+37
-4
lines changed

3 files changed

+37
-4
lines changed

.github/workflows/tests.yml

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,40 @@ jobs:
1313
fail-fast: false
1414
matrix:
1515
php-version: ['8.2']
16-
sdk: [Android5Java17, Android14Java17, CLINode16, CLINode18, DartBeta, DartStable, Deno1193, Deno1303, DotNet60, DotNet70, FlutterStable, FlutterBeta, Go112, Go118, KotlinJava8, KotlinJava11, KotlinJava17, Node16, Node18, Node20, PHP74, PHP80, Python38, Python39, Python310, Ruby27, Ruby30, Ruby31, AppleSwift56, Swift56, WebChromium, WebNode]
16+
sdk: [
17+
Android5Java17,
18+
Android14Java17,
19+
CLINode16,
20+
CLINode18,
21+
DartBeta,
22+
DartStable,
23+
Deno1193,
24+
Deno1303,
25+
DotNet60,
26+
DotNet80,
27+
FlutterStable,
28+
FlutterBeta,
29+
Go112,
30+
Go118,
31+
KotlinJava8,
32+
KotlinJava11,
33+
KotlinJava17,
34+
Node16,
35+
Node18,
36+
Node20,
37+
PHP74,
38+
PHP80,
39+
Python38,
40+
Python39,
41+
Python310,
42+
Ruby27,
43+
Ruby30,
44+
Ruby31,
45+
AppleSwift56,
46+
Swift56,
47+
WebChromium,
48+
WebNode
49+
]
1750

1851
steps:
1952
- name: Checkout repository

tests/DotNet60Test.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ class DotNet60Test extends Base
1414
protected array $build = [
1515
'mkdir -p tests/sdks/dotnet/test',
1616
'cp tests/languages/dotnet/Tests.cs tests/sdks/dotnet/test/Tests.cs',
17-
'cp tests/languages/dotnet/Tests80.csproj tests/sdks/dotnet/test/Tests.csproj',
17+
'cp tests/languages/dotnet/Tests60.csproj tests/sdks/dotnet/test/Tests.csproj',
1818
];
1919
protected string $command =
20-
'docker run --network="mockapi" --rm -v $(pwd):/app -w /app/tests/sdks/dotnet/test/ mcr.microsoft.com/dotnet/sdk:6.0-alpine3.17 dotnet test --verbosity normal --framework net6.0';
20+
'docker run --network="mockapi" --rm -v $(pwd):/app -w /app/tests/sdks/dotnet/test mcr.microsoft.com/dotnet/sdk:6.0-alpine3.17 dotnet test --verbosity normal --framework net6.0';
2121

2222
protected array $expectedOutput = [
2323
...Base::FOO_RESPONSES,

tests/DotNet80Test.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class DotNet80Test extends Base
1717
'cp tests/languages/dotnet/Tests80.csproj tests/sdks/dotnet/test/Tests.csproj',
1818
];
1919
protected string $command =
20-
'docker run --network="mockapi" -v $(pwd):/app -w /app/tests/sdks/dotnet/test mcr.microsoft.com/dotnet/sdk:8.0-alpine3.19 dotnet test --verbosity normal --framework net8.0';
20+
'docker run --network="mockapi" --rm -v $(pwd):/app -w /app/tests/sdks/dotnet/test mcr.microsoft.com/dotnet/sdk:8.0-alpine3.19 dotnet test --verbosity normal --framework net8.0';
2121

2222
protected array $expectedOutput = [
2323
...Base::FOO_RESPONSES,

0 commit comments

Comments
 (0)