Skip to content
This repository has been archived by the owner on Dec 16, 2021. It is now read-only.

Commit

Permalink
Merge pull request #347 from nhs-digital-gp-it-futures/feature/13000-…
Browse files Browse the repository at this point in the history
…integration-tests

Fix integration tests
  • Loading branch information
bjss-chris committed Mar 17, 2021
2 parents fb85610 + bdf6183 commit 62b8d16
Show file tree
Hide file tree
Showing 122 changed files with 3,582 additions and 5,094 deletions.
43 changes: 21 additions & 22 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,28 +97,27 @@ jobs:
command: test
projects: '**/*UnitTests.csproj'
arguments: '-v n --no-build --collect "Code coverage"'

# To be reinstated
# - task: DockerInstaller@0
# inputs:
# dockerVersion: $(dockerVersion)

# - script: docker-compose up --build -d
# displayName: 'Docker up'

# - task: DotNetCoreCLI@2
# displayName: 'Run Integration tests'
# inputs:
# command: test
# projects: '**/*IntegrationTests.csproj'
# arguments: '-v n --no-build'

# - script: docker-compose logs
# displayName: 'Docker Logs'
# condition: failed()

# - script: docker-compose down -v
# displayName: 'Docker down'

- task: DockerInstaller@0
inputs:
dockerVersion: $(dockerVersion)

- script: docker-compose up --build -d
displayName: 'Docker up'

- task: DotNetCoreCLI@2
displayName: 'Run Integration tests'
inputs:
command: test
projects: '**/*IntegrationTests.csproj'
arguments: '-v n --no-build'

- script: docker-compose logs
displayName: 'Docker Logs'
condition: failed()

- script: docker-compose down -v
displayName: 'Docker down'

- task: DockerCompose@0
displayName: 'Build: Dev'
Expand Down

This file was deleted.

This file was deleted.

0 comments on commit 62b8d16

Please sign in to comment.