Skip to content

Commit

Permalink
Update dotnet.yml
Browse files Browse the repository at this point in the history
Updated the path of the docker compose files.
  • Loading branch information
CDR-FarooqK authored Nov 28, 2023
1 parent 5b723ef commit 9a1c3ab
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,12 +101,12 @@ jobs:
# Run integration tests
- name: Run integration tests
run: |
docker compose -f './mock-data-recipient/Source/docker-compose.IntegrationTests.yml' up --abort-on-container-exit --exit-code-from mock-data-recipient-integration-tests
docker compose -f './mock-data-recipient/Source/DockerCompose/docker-compose.IntegrationTests.yml' up --abort-on-container-exit --exit-code-from mock-data-recipient-integration-tests
# Remove integration tests
- name: Remove integration tests
run: |
docker compose -f './mock-data-recipient/Source/docker-compose.IntegrationTests.yml' down
docker compose -f './mock-data-recipient/Source/DockerCompose/docker-compose.IntegrationTests.yml' down
# List docker images
- name: List Docker images
Expand All @@ -121,12 +121,12 @@ jobs:
# Run e2e tests
- name: Run e2e tests
run: |
docker compose -f './mock-data-recipient/Source/docker-compose.E2ETests.yml' up --abort-on-container-exit --exit-code-from mock-data-recipient-e2e-tests
docker compose -f './mock-data-recipient/Source/DockerCompose/docker-compose.E2ETests.yml' up --abort-on-container-exit --exit-code-from mock-data-recipient-e2e-tests
# Remove e2e tests
- name: Remove e2e tests
run: |
docker compose -f './mock-data-recipient/Source/docker-compose.E2ETests.yml' down
docker compose -f './mock-data-recipient/Source/DockerCompose/docker-compose.E2ETests.yml' down
# Build mock-data-recipient-unit-tests image
- name: Build the mock-data-recipient-unit-tests image
Expand All @@ -136,65 +136,65 @@ jobs:
# Run unit tests
- name: Run unit tests
run: |
docker compose -f './mock-data-recipient/Source/docker-compose.UnitTests.yml' up --abort-on-container-exit --exit-code-from mock-data-recipient-unit-tests
docker compose -f './mock-data-recipient/Source/DockerCompose/docker-compose.UnitTests.yml' up --abort-on-container-exit --exit-code-from mock-data-recipient-unit-tests
# Remove unit tests
- name: Remove unit tests
run: |
docker compose -f './mock-data-recipient/Source/docker-compose.UnitTests.yml' down
docker compose -f './mock-data-recipient/Source/DockerCompose/docker-compose.UnitTests.yml' down
# Archive unit test results
- name: Archive unit test results
uses: actions/upload-artifact@v2
if: always()
with:
name: unit-test-results
path: ${{ github.workspace }}/mock-data-recipient/Source/_temp/mock-data-recipient-unit-tests/testresults
path: ${{ github.workspace }}/mock-data-recipient/Source/DockerCompose/_temp/mock-data-recipient-unit-tests/testresults

# Archive integration test results
- name: Archive integration test results
uses: actions/upload-artifact@v2
if: always()
with:
name: integration-test-results
path: ${{ github.workspace }}/mock-data-recipient/Source/_temp/mock-data-recipient-integration-tests/testresults
path: ${{ github.workspace }}/mock-data-recipient/Source/DockerCompose/_temp/mock-data-recipient-integration-tests/testresults

# Archive e2e test results
- name: Archive e2e test results
uses: actions/upload-artifact@v2
if: always()
with:
name: e2e-test-results
path: ${{ github.workspace }}/mock-data-recipient/Source/_temp/mock-data-recipient-e2e-tests/testresults
path: ${{ github.workspace }}/mock-data-recipient/Source/DockerCompose/_temp/mock-data-recipient-e2e-tests/testresults

# Archive mock data recipient logs
- name: Archive mock data recipient logs
uses: actions/upload-artifact@v2
if: always()
with:
name: integration-test-artifacts
path: ${{ github.workspace }}/mock-data-recipient/Source/_temp/mock-data-recipient/tmp
path: ${{ github.workspace }}/mock-data-recipient/Source/DockerCompose/_temp/mock-data-recipient/tmp

# Archive mock data holder logs
- name: Archive mock data holder logs
uses: actions/upload-artifact@v2
if: always()
with:
name: integration-test-artifacts
path: ${{ github.workspace }}/mock-data-recipient/Source/_temp/mock-data-holder/tmp
path: ${{ github.workspace }}/mock-data-recipient/Source/DockerCompose/_temp/mock-data-holder/tmp

# Archive mock data holder energy logs
- name: Archive mock data holder energy logs
uses: actions/upload-artifact@v2
if: always()
with:
name: integration-test-artifacts
path: ${{ github.workspace }}/mock-data-recipient/Source/_temp/mock-data-holder-energy/tmp
path: ${{ github.workspace }}/mock-data-recipient/Source/DockerCompose/_temp/mock-data-holder-energy/tmp

# Archive mock register logs
- name: Archive mock register logs
uses: actions/upload-artifact@v2
if: always()
with:
name: integration-test-artifacts
path: ${{ github.workspace }}/mock-data-recipient/Source/_temp/mock-register/tmp
path: ${{ github.workspace }}/mock-data-recipient/Source/DockerCompose/_temp/mock-register/tmp

0 comments on commit 9a1c3ab

Please sign in to comment.