docs: add migration notes for API changes in Ivy 1.2.34 #4147
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 Docs Tests | |
| on: | |
| push: | |
| branches: [main, master] | |
| pull_request: | |
| branches: [main, master] | |
| permissions: | |
| contents: read | |
| jobs: | |
| test: | |
| timeout-minutes: 60 | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| # Setup Node.js (needed for integrated frontend build in dotnet build) | |
| - uses: voidzero-dev/setup-vp@v1 | |
| # Setup .NET and build backend (triggers frontend build automatically) | |
| - name: Setup .NET | |
| uses: actions/setup-dotnet@v4 | |
| with: | |
| dotnet-version: "10.0.x" | |
| - name: Build backend | |
| run: dotnet build src/Ivy.Docs/Ivy.Docs.csproj | |
| - name: Start backend server | |
| run: | | |
| dotnet run --project src/Ivy.Docs/Ivy.Docs.csproj -- --port 5010 --silent & | |
| echo $! > backend.pid | |
| # Wait for server to be ready | |
| timeout 30 bash -c 'until curl -f http://localhost:5010/ > /dev/null 2>&1; do sleep 1; done' | |
| - name: Install Playwright Browsers | |
| working-directory: ./src/frontend | |
| run: npx playwright install --with-deps | |
| - name: Run Playwright tests for Docs | |
| working-directory: ./src/frontend | |
| run: npm run e2e:docs | |
| env: | |
| PLAYWRIGHT_BASE_URL: http://localhost:5010 | |
| # Cleanup backend server | |
| - name: Stop backend server | |
| if: always() | |
| run: | | |
| if [ -f backend.pid ]; then | |
| kill $(cat backend.pid) || true | |
| rm backend.pid | |
| fi | |
| - uses: actions/upload-artifact@v4 | |
| if: ${{ !cancelled() }} | |
| with: | |
| name: playwright-report-docs | |
| path: src/frontend/playwright-report/ | |
| retention-days: 30 |