Playwright install #6
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: Automated test | |
on: | |
workflow_dispatch: | |
pull_request: | |
push: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
name: Python 3.12 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.12' | |
- name: Set up dependencies | |
run: pip install playwright pytest-playwright solara[pytest] nbformat click pytest | |
- name: Initialize playwright | |
run: playwright install | |
- name: Convert notebook to profiling script | |
run: python convert.py imviz-profile.ipynb imviz-profile.py | |
working-directory: ./automated | |
- name: Run profiling script | |
run: pytest imviz-profile.py | |
working-directory: ./automated |