This project is in violation of the git clone && dotnet test standard of execution - largely due to how we manage external services dependencies inside our build system:
|
# Linux |
|
# Install Azurite in linux |
|
- bash: | |
|
sudo npm install -g azurite@3.26.0 |
|
sudo mkdir azurite |
|
sudo azurite --silent --location azurite --debug azirute/debug.log & |
|
displayName: 'Install and Run Azurite (Linux)' |
|
condition: in( variables['Agent.OS'], 'Linux', 'Darwin' ) |
|
|
|
# Do build |
|
- script: dotnet test -c Release --no-build --framework net9.0 --logger:trx --collect:"XPlat Code Coverage" --results-directory TestResults --settings coverlet.runsettings |
|
displayName: 'Run Tests (Linux)' |
|
continueOnError: true |
|
condition: in( variables['Agent.OS'], 'Linux', 'Darwin' ) |
|
|
|
# Windows |
|
# Start Azure Storage Emulator in windows |
|
- powershell: | |
|
npm install -g azurite@3.26.0 |
|
mkdir azurite |
|
Start-Process azurite.cmd -PassThru |
|
displayName: 'Install and Run Azurite (Windows)' |
|
condition: eq( variables['Agent.OS'], 'Windows_NT' ) |
|
|
|
# Do build |
|
- script: dotnet test -c Release --no-build --logger:trx --collect:"XPlat Code Coverage" --results-directory TestResults --settings coverlet.runsettings |
|
displayName: 'Run Tests (Windows)' |
|
continueOnError: true |
|
condition: eq( variables['Agent.OS'], 'Windows_NT' ) |
and
|
amqpTestUseDocker : false # Flag for Akka.Streams.Azure.StorageQueue.Test to use docker |
All must be migrated to use TestContainers and "just work" internally
This project is in violation of the
git clone && dotnet teststandard of execution - largely due to how we manage external services dependencies inside our build system:Alpakka/build-system/azure-pipeline.template.yaml
Lines 48 to 76 in 3c8603e
and
Alpakka/build-system/azure-pipeline.template.yaml
Line 10 in 3c8603e
All must be migrated to use TestContainers and "just work" internally