change to bash

This commit is contained in:
Alex Hyett 2023-07-10 12:18:40 +01:00
parent 32c90e508f
commit 26057e3495

View file

@ -18,10 +18,9 @@ jobs:
run: dotnet build run: dotnet build
- name: Run Unit Tests - name: Run Unit Tests
run: dotnet test --filter Category=Unit --no-restore --verbosity normal run: dotnet test --filter Category=Unit --no-restore --verbosity normal
- uses: canastro/copy-file-action@master - name: Copy Unit Test Results
with: run: mkdir TestResults; cp test/**/TestResults/*.Unit.Tests.trx TestResults/
source: "test/**/TestResults/*.Unit.Tests.trx" shell: bash
target: "TestResults"
- name: Start containers - name: Start containers
run: docker-compose -f "docker-compose.yml" up -d --build run: docker-compose -f "docker-compose.yml" up -d --build
- name: Wait for docker containers to setup - name: Wait for docker containers to setup
@ -29,10 +28,9 @@ jobs:
shell: bash shell: bash
- name: Run Integration Tests - name: Run Integration Tests
run: dotnet test --filter Category=Integration --no-restore --verbosity normal run: dotnet test --filter Category=Integration --no-restore --verbosity normal
- uses: canastro/copy-file-action@master - name: Copy Integration Test Results
with: run: cp test/**/TestResults/*.Integration.Tests.trx TestResults/
source: "test/**/TestResults/*.Integration.Tests.trx" shell: bash
target: "TestResults"
- name: Test Report - name: Test Report
uses: dorny/test-reporter@v1 uses: dorny/test-reporter@v1
if: success() || failure() if: success() || failure()