Skip to content

Commit

Permalink
Update dotnet.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sungaila authored Jul 2, 2024
1 parent 91a8f1a commit 499b0da
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -262,20 +262,24 @@ jobs:
name: AotConsole
path: AotConsole
- name: docker build
shell: pwsh
run: docker build -t aotconsole -f src/FrameworkTests/AotConsole/Dockerfiles/Dockerfile .
- name: docker run
run: docker run --rm -t aotconsole net8.0/PDFtoImage.FrameworkTests.AotConsole.dll
shell: pwsh
run: docker run -t aotconsole net8.0/PDFtoImage.FrameworkTests.AotConsole.dll
- name: Download test assemblies
if: success() || failure()
uses: actions/download-artifact@main
with:
name: Test assemblies
- name: docker build
id: build-test
shell: pwsh
if: success() || failure()
run: docker build -t test-client -f src/Tests/Dockerfiles/Dockerfile .
- name: docker run
if: steps.build-test.outcome == 'success'
shell: pwsh
if: steps.build-test.conclusion == 'success'
run: docker run --rm --mount type=bind,source=${{ github.workspace }}/TestResults,target=/app/TestResults -t test-client net8.0/PDFtoImage.Tests.dll
- name: Upload test results
if: success() || failure()
Expand Down

0 comments on commit 499b0da

Please sign in to comment.