Skip to content

CI

CI #194

Workflow file for this run

name: CI
on:
push:
pull_request:
schedule:
# run every Monday at 6am UTC
- cron: '0 6 * * 1'
jobs:
ci-tests:
strategy:
max-parallel: 4
fail-fast: false
matrix:
platform: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.platform }}
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python }}
uses: actions/setup-python@v5
with:
python-version: 3.9
- name: Install base dependencies
run: |
python -m pip install --upgrade pip
python -m pip install pytest wheel jupyterlab
- name: Install the package
run: |
pip install .
- name: Check labextension is installed
shell: bash
run: |
jupyter labextension list
$(jupyter labextension list | grep ipyevents > ipyevents_lines.txt) || echo
test ! -s ipyevents_lines.txt
- name: Run unit ci-tests
run: |
pytest ipyevents