UITest/BookLib: Try to improve stability of CreateReportTest (#54) #493
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: System.Waf.CI | |
on: | |
push: | |
paths: | |
- 'src/*' | |
- 'src/System.Waf/**' | |
- 'src/Samples.UITest/**' | |
- '.github/workflows/**' | |
jobs: | |
build: | |
name: 🛠️ Build and test | |
runs-on: windows-latest | |
steps: | |
- name: 🔖 Check-out | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: ⚙️ Setup .NET | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: '8' | |
- name: 🛠️ Build | |
run: dotnet build ./src/System.Waf/System.Waf.sln -c Release -p:ContinuousIntegrationBuild=true | |
- name: 🕵️ Test | |
run: dotnet test ./src/System.Waf/System.Waf.sln -c Release --no-build | |
- name: 📦 Upload NuGet Packages | |
uses: actions/upload-artifact@v4 | |
with: | |
name: Packages | |
if-no-files-found: error | |
path: | | |
src/System.Waf/System.Waf/**/*.nupkg | |
src/System.Waf/System.Waf/**/*.snupkg | |
- name: 🖥️ UI Test | |
run: dotnet test ./src/Samples.UITest/Samples.UITest.sln --logger "console;verbosity=detailed" -maxCpuCount:1 | |
- name: 📦 Upload UI Test results | |
uses: actions/upload-artifact@v4 | |
if: always() | |
with: | |
name: UITestResults | |
if-no-files-found: ignore | |
path: | | |
out/Samples.UITest/ | |
- name: 📦 Upload UI Test App logs | |
uses: actions/upload-artifact@v4 | |
if: always() | |
with: | |
name: UITestAppLogs | |
if-no-files-found: ignore | |
path: | | |
~/AppData/Local/Waf Writer/Log/ | |
~/AppData/Local/Waf Book Library/Log/ | |
~/AppData/Local/Waf Information Manager/Log/ |