perf: Reduce GC allocations in DOM diffing (#58) #199
This file contains hidden or 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: E2E | |
| on: | |
| pull_request: | |
| branches: [ "main" ] | |
| push: | |
| branches: [ "main" ] | |
| jobs: | |
| e2e: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 60 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup .NET 10 | |
| uses: actions/setup-dotnet@v4 | |
| with: | |
| dotnet-version: '10.0.x' | |
| - name: Install WASM workloads | |
| run: dotnet workload install wasm-experimental wasm-tools | |
| - name: Restore | |
| run: dotnet restore | |
| - name: Build | |
| run: dotnet build --no-restore -c Debug | |
| - name: Cache Playwright browsers | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.cache/ms-playwright | |
| key: ms-playwright-${{ runner.os }}-${{ hashFiles('**/*.csproj', '**/packages.lock.json') }} | |
| restore-keys: | | |
| ms-playwright-${{ runner.os }}- | |
| # Install Playwright browsers for .NET (must run AFTER build) | |
| # See: https://playwright.dev/dotnet/docs/ci-intro | |
| - name: Install Playwright browsers | |
| run: pwsh bin/Debug/net10.0/playwright.ps1 install --with-deps | |
| working-directory: Abies.Conduit.E2E | |
| - name: Run E2E tests (sequential) | |
| id: e2e-tests | |
| continue-on-error: true | |
| run: | | |
| dotnet test Abies.Conduit.E2E/Abies.Conduit.E2E.csproj \ | |
| --no-build -c Debug -v minimal -m:1 \ | |
| --filter "Category!=Performance" \ | |
| -l "trx;LogFileName=conduit-e2e.trx" \ | |
| -l "console;verbosity=normal" \ | |
| -- RunConfiguration.TestSessionTimeout=3600000 | |
| - name: Analyze test results | |
| if: always() | |
| id: analyze-results | |
| run: | | |
| python3 scripts/analyze_e2e_results.py \ | |
| Abies.Conduit.E2E/TestResults/conduit-e2e.trx | |
| - name: Upload test results | |
| if: always() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: e2e-test-results | |
| path: | | |
| **/TestResults/*.trx | |
| Abies.Conduit.E2E/bin/**/.playwright/** |