Skip to content

Commit 7e505c5

Browse files
Workflow updates
1 parent 298c4ff commit 7e505c5

3 files changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/createrelease.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ jobs:
4141
run: |
4242
docker build . --file TransactionProcessor/Dockerfile --tag transactionprocessor:latest --tag stuartferguson/transactionprocessor:latest --tag stuartferguson/transactionprocessor:${{ steps.get_version.outputs.VERSION }}
4343
44+
- name: Run Integration Tests
45+
run: dotnet test "TransactionProcessor.IntegrationTests\TransactionProcessor.IntegrationTests.csproj"
46+
4447
- name: Publish Images to Docker Hub
4548
run: |
4649
docker login --username=${{ secrets.DOCKER_USERNAME }} --password=${{ secrets.DOCKER_PASSWORD }}

.github/workflows/nightlybuild.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,6 @@ jobs:
4949

5050
- name: Build Docker Image
5151
run: docker build . --file TransactionProcessor/Dockerfile --tag transactionprocessor:latest
52+
53+
- name: Run Integration Tests
54+
run: dotnet test "TransactionProcessor.IntegrationTests\TransactionProcessor.IntegrationTests.csproj"

.github/workflows/pullrequest.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,5 @@ jobs:
3737
- name: Build Docker Image
3838
run: docker build . --file TransactionProcessor/Dockerfile --tag transactionprocessor:latest
3939

40+
- name: Run Integration Tests
41+
run: dotnet test "TransactionProcessor.IntegrationTests\TransactionProcessor.IntegrationTests.csproj" --filter Category=PRTest

0 commit comments

Comments
 (0)