E2E foundation, contracts, and CI #31
Workflow file for this run
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 (Playwright) | |
| on: | |
| push: | |
| branches: [ main, develop, release/** ] | |
| pull_request: | |
| jobs: | |
| e2e-playwright: | |
| name: Node E2E (Playwright) | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 20 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '18' | |
| - name: Setup Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.12' | |
| - name: Upgrade pip and install Python deps (app + dev) | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -e .[dev] | |
| - name: Install Playwright browsers (Python CLI) | |
| run: python -m playwright install --with-deps | |
| - name: Install Node deps | |
| run: npm ci | |
| - name: Install Playwright browsers | |
| run: npx playwright install --with-deps | |
| - name: Run Playwright E2E smoke | |
| env: | |
| SCIDK_PROVIDERS: local_fs | |
| run: npm run e2e | |
| - name: Upload Playwright report (on failure) | |
| if: failure() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: playwright-report | |
| path: | | |
| playwright-report/ | |
| test-results/ | |
| if-no-files-found: ignore |