Bump actions/setup-python from 4 to 5 #184
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@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 | |