Skip to content

ci: fix testing workflow #268

ci: fix testing workflow

ci: fix testing workflow #268

Triggered via pull request January 14, 2025 19:02
Status Failure
Total duration 29s
Artifacts

formatting-and-tests.yml

on: pull_request
Matrix: Check Build and formatting
Matrix: Test
Fit to window
Zoom out
Zoom in

Annotations

31 errors and 3 warnings
Test (Flagsmith.EngineTest)
Process completed with exit code 1.
Test (Flagsmith.Client.Test)
The job was canceled because "Flagsmith_EngineTest" failed.
Test (Flagsmith.Client.Test): Flagsmith.Client.Test/AnalyticsTests.cs#L32
'Parallel' does not contain a definition for 'ForEachAsync'
Test (Flagsmith.Client.Test): Flagsmith.Client.Test/AnalyticsTests.cs#L32
A local or parameter named 'token' cannot be declared in this scope because that name is used in an enclosing local scope to define a local or parameter
Test (Flagsmith.Client.Test): Flagsmith.Client.Test/Fixtures.cs#L13
Feature 'target-typed object creation' is not available in C# 7.3. Please use language version 9.0 or greater.
Test (Flagsmith.Client.Test): Flagsmith.Client.Test/HttpMocker.cs#L24
'StringContent' does not contain a definition for 'ReadAsStream' and no accessible extension method 'ReadAsStream' accepting a first argument of type 'StringContent' could be found (are you missing a using directive or an assembly reference?)
Test (Flagsmith.Client.Test): Flagsmith.Client.Test/HttpMocker.cs#L34
Feature 'target-typed object creation' is not available in C# 7.3. Please use language version 9.0 or greater.
Test (Flagsmith.Client.Test): Flagsmith.Client.Test/FlagsmithTest.cs#L120
'Parallel' does not contain a definition for 'ForEachAsync'
Test (Flagsmith.Client.Test): Flagsmith.Client.Test/FlagsmithTest.cs#L120
A local or parameter named 'token' cannot be declared in this scope because that name is used in an enclosing local scope to define a local or parameter
Test (Flagsmith.Client.Test): Flagsmith.Client.Test/FlagsmithTest.cs#L554
'Dictionary<string, int>' does not contain a definition for 'TryAdd' and no accessible extension method 'TryAdd' accepting a first argument of type 'Dictionary<string, int>' could be found (are you missing a using directive or an assembly reference?)
Test (Flagsmith.Client.Test)
The operation was canceled.
Check Build and formatting (Flagsmith.Engine): Flagsmith.Client.Test/Fixtures.cs#L13
Feature 'target-typed object creation' is not available in C# 7.3. Please use language version 9.0 or greater.
Check Build and formatting (Flagsmith.Engine): Flagsmith.Client.Test/AnalyticsTests.cs#L32
'Parallel' does not contain a definition for 'ForEachAsync'
Check Build and formatting (Flagsmith.Engine): Flagsmith.Client.Test/AnalyticsTests.cs#L32
A local or parameter named 'token' cannot be declared in this scope because that name is used in an enclosing local scope to define a local or parameter
Check Build and formatting (Flagsmith.Engine): Flagsmith.Client.Test/FlagsmithTest.cs#L120
'Parallel' does not contain a definition for 'ForEachAsync'
Check Build and formatting (Flagsmith.Engine): Flagsmith.Client.Test/FlagsmithTest.cs#L120
A local or parameter named 'token' cannot be declared in this scope because that name is used in an enclosing local scope to define a local or parameter
Check Build and formatting (Flagsmith.Engine): Flagsmith.Client.Test/HttpMocker.cs#L24
'StringContent' does not contain a definition for 'ReadAsStream' and no accessible extension method 'ReadAsStream' accepting a first argument of type 'StringContent' could be found (are you missing a using directive or an assembly reference?)
Check Build and formatting (Flagsmith.Engine): Flagsmith.Client.Test/HttpMocker.cs#L34
Feature 'target-typed object creation' is not available in C# 7.3. Please use language version 9.0 or greater.
Check Build and formatting (Flagsmith.Engine): Flagsmith.Client.Test/FlagsmithTest.cs#L554
'Dictionary<string, int>' does not contain a definition for 'TryAdd' and no accessible extension method 'TryAdd' accepting a first argument of type 'Dictionary<string, int>' could be found (are you missing a using directive or an assembly reference?)
Check Build and formatting (Flagsmith.Engine): Flagsmith.Client.Test/Fixtures.cs#L13
Feature 'target-typed object creation' is not available in C# 7.3. Please use language version 9.0 or greater.
Check Build and formatting (Flagsmith.Engine): Flagsmith.Client.Test/AnalyticsTests.cs#L32
'Parallel' does not contain a definition for 'ForEachAsync'
Check Build and formatting (Flagsmith.FlagsmithClient): Flagsmith.Client.Test/Fixtures.cs#L13
Feature 'target-typed object creation' is not available in C# 7.3. Please use language version 9.0 or greater.
Check Build and formatting (Flagsmith.FlagsmithClient): Flagsmith.Client.Test/AnalyticsTests.cs#L32
'Parallel' does not contain a definition for 'ForEachAsync'
Check Build and formatting (Flagsmith.FlagsmithClient): Flagsmith.Client.Test/AnalyticsTests.cs#L32
A local or parameter named 'token' cannot be declared in this scope because that name is used in an enclosing local scope to define a local or parameter
Check Build and formatting (Flagsmith.FlagsmithClient): Flagsmith.Client.Test/FlagsmithTest.cs#L120
'Parallel' does not contain a definition for 'ForEachAsync'
Check Build and formatting (Flagsmith.FlagsmithClient): Flagsmith.Client.Test/FlagsmithTest.cs#L120
A local or parameter named 'token' cannot be declared in this scope because that name is used in an enclosing local scope to define a local or parameter
Check Build and formatting (Flagsmith.FlagsmithClient): Flagsmith.Client.Test/HttpMocker.cs#L24
'StringContent' does not contain a definition for 'ReadAsStream' and no accessible extension method 'ReadAsStream' accepting a first argument of type 'StringContent' could be found (are you missing a using directive or an assembly reference?)
Check Build and formatting (Flagsmith.FlagsmithClient): Flagsmith.Client.Test/HttpMocker.cs#L34
Feature 'target-typed object creation' is not available in C# 7.3. Please use language version 9.0 or greater.
Check Build and formatting (Flagsmith.FlagsmithClient): Flagsmith.Client.Test/FlagsmithTest.cs#L554
'Dictionary<string, int>' does not contain a definition for 'TryAdd' and no accessible extension method 'TryAdd' accepting a first argument of type 'Dictionary<string, int>' could be found (are you missing a using directive or an assembly reference?)
Check Build and formatting (Flagsmith.FlagsmithClient): Flagsmith.Client.Test/Fixtures.cs#L13
Feature 'target-typed object creation' is not available in C# 7.3. Please use language version 9.0 or greater.
Check Build and formatting (Flagsmith.FlagsmithClient): Flagsmith.Client.Test/AnalyticsTests.cs#L32
'Parallel' does not contain a definition for 'ForEachAsync'
Test (Flagsmith.EngineTest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Check Build and formatting (Flagsmith.Engine)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Check Build and formatting (Flagsmith.FlagsmithClient)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636