mirror of
https://github.com/azaion/satellite-provider.git
synced 2026-06-27 06:31:13 +00:00
[AZ-1132] Use system protoc in run-tests SDK container
Install protobuf-compiler and set PROTOBUF_PROTOC on arm64 where Grpc.Tools bundled protoc segfaults; align Woodpecker. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -12,5 +12,7 @@ steps:
|
||||
- name: unit-tests
|
||||
image: mcr.microsoft.com/dotnet/sdk:10.0
|
||||
commands:
|
||||
- apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends protobuf-compiler && rm -rf /var/lib/apt/lists/*
|
||||
- export PROTOBUF_PROTOC=/usr/bin/protoc
|
||||
- dotnet restore SatelliteProvider.sln
|
||||
- dotnet test SatelliteProvider.Tests/SatelliteProvider.Tests.csproj --no-restore --configuration Release --logger "console;verbosity=normal" --logger "trx;LogFileName=test-results.trx" --results-directory /app/test-results
|
||||
|
||||
Reference in New Issue
Block a user