Create ui tests for jupyterlab extensions #10
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: Build | |
| on: | |
| push: | |
| branches: main | |
| pull_request: | |
| branches: '*' | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Build docker image | |
| run: | | |
| npm install | |
| npx playwright install chromium | |
| npm run build | |
| - name: Run test | |
| run: | | |
| npm run test | |
| - name: Upload Playwright Test report | |
| id: upload-galata-artifact | |
| if: always() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: playwright-tests | |
| path: | | |
| ./test-results | |
| ./playwright-report |