Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion eng/pipelines/templates/BuildAndTest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,11 @@ steps:
- script: |
docker info
docker container ls
docker volume ls
docker network ls
docker network prune -f
displayName: List Docker containers and networks, and prune networks
displayName: List Docker containers and networks, and prune networks (Before Tests)
condition: always()

- script: ${{ parameters.dotnetScript }} dotnet-coverage collect
--settings $(Build.SourcesDirectory)/eng/CodeCoverage.config
Expand All @@ -87,6 +89,16 @@ steps:
DCP_PRESERVE_EXECUTABLE_LOGS: 1
displayName: Run non-helix tests

- ${{ if ne(parameters.isWindows, 'true') }}:
- script: |
docker info
docker container ls
docker volume ls
docker network ls
docker network prune -f
displayName: List Docker containers and networks, and prune networks (After Tests always)
condition: always()

# Helix tests are run only on the public pipeline
- ${{ if and(eq(parameters.runAsPublic, 'true'), eq(parameters.runHelixTests, 'true')) }}:
- script: ${{ parameters.buildScript }}
Expand Down