-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
38 additions
and
23 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: CI | ||
|
||
on: | ||
push: | ||
pull_request: | ||
schedule: | ||
# run every Monday at 6am UTC | ||
- cron: '0 6 * * 1' | ||
|
||
jobs: | ||
ci-tests: | ||
runs-on: 'ubuntu-latest' | ||
steps: | ||
- name: Check out repository | ||
uses: actions/checkout@v2 | ||
- name: Set up Python ${{ matrix.python }} | ||
uses: actions/setup-python@v2 | ||
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 notebook extension installation | ||
run: | | ||
jupyter nbextension list | grep ipyevents | ||
- name: Check labextension is installed | ||
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 | ||
This file was deleted.
Oops, something went wrong.