Skip to content

Commit

Permalink
Updated CI to test jupyter-output-monitor
Browse files Browse the repository at this point in the history
  • Loading branch information
astrofrog committed Nov 13, 2024
1 parent 7aed9be commit 720b343
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
push:

jobs:
test:
test_convert:
runs-on: ubuntu-latest
name: Python 3.12
steps:
Expand All @@ -25,3 +25,24 @@ jobs:
- name: Run profiling script
run: pytest imviz-profile.py -vs
working-directory: ./automated
test_main:
runs-on: ubuntu-latest
name: Python 3.12
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.12'
cache: 'pip'
- name: Set up dependencies
run: pip install .
- name: Initialize playwright
run: playwright install
- name: Run monitoring command
run: jupyter-output-monitor --notebook automated/imviz-profile.ipynb --headless
- 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 -vs
working-directory: ./automated

0 comments on commit 720b343

Please sign in to comment.