Skip to content

Commit

Permalink
edit yaml files
Browse files Browse the repository at this point in the history
  • Loading branch information
DerRobert-28 committed May 22, 2024
1 parent 7f8647b commit f2cd88e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/Automation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ jobs:
Automation:
runs-on: windows-latest
steps:
- run: mkdir -p SharpTools2024/Artifacts
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
Expand All @@ -25,12 +24,14 @@ jobs:
run: dotnet restore
- name: Build
run: dotnet build --no-restore
- name: Create artifacts directory
run: mkdir -p SharpTools2024/Artifacts
- name: Test
run: dotnet test -l html -v detailed >SharpTools2024/Artifacts/SharpTools2024.UnitTests.log
- name: Upload Test Results
uses: actions/upload-artifact@v4
with:
name: test-results
path: |
./TestResults/TestResults.html
./SharpTools2024.UnitTests.log
**/TestResults/*.html
**/*.log
7 changes: 4 additions & 3 deletions .github/workflows/Manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ jobs:
Manual:
runs-on: windows-latest
steps:
- run: mkdir -p SharpTools2024/Artifacts
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
Expand All @@ -38,12 +37,14 @@ jobs:
run: dotnet restore
- name: Build
run: dotnet build --no-restore
- name: Create artifacts directory
run: mkdir -p SharpTools2024/Artifacts
- name: Test
run: dotnet test -l html -v detailed >SharpTools2024/Artifacts/SharpTools2024.UnitTests.log
- name: Upload Test Results
uses: actions/upload-artifact@v4
with:
name: test-results
path: |
./TestResults/TestResults.html
./SharpTools2024.UnitTests.log
**/TestResults/*.html
**/*.log

0 comments on commit f2cd88e

Please sign in to comment.