Bump actions/checkout from 3 to 4 #161
Workflow file for this run
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: 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@v4 | |
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 | |