ci(azure-pipelines): fix test container step

This commit is contained in:
Sarah Vaupel 2025-02-10 15:06:43 +01:00
parent 084b9258dd
commit dea9faa055

View File

@ -127,17 +127,17 @@ stages:
dependsOn: Setup
condition: eq(variables.skipTests, false)
jobs:
- task: Bash@3
displayName: Start database container for testing
inputs:
targetType: inline
script: |
docker run -d devfra.azurecr.io/de.fraport.trusted/postgres:16.1-bookworm
- ${{ each service in parameters.services }}:
- job: Test_${{service.name}}
displayName: Run ${{service.name}} tests
dependsOn: ${{service.dependsOn}}
steps:
- task: Bash@3
displayName: Start database container for testing
inputs:
targetType: inline
script: |
docker run -d devfra.azurecr.io/de.fraport.trusted/postgres:16.1-bookworm
- template: .azure-pipelines/templates/steps/make.yaml
parameters:
makeJob: lint