change to bash
This commit is contained in:
parent
32c90e508f
commit
26057e3495
1 changed files with 6 additions and 8 deletions
14
.github/workflows/build-and-test.yml
vendored
14
.github/workflows/build-and-test.yml
vendored
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue