Skip to content

Commit

Permalink
Replace travis with GitHub action
Browse files Browse the repository at this point in the history
  • Loading branch information
mwcraig committed Jun 11, 2021
1 parent 348395f commit cc40b7c
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 23 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/ci_tests.yaml
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
23 changes: 0 additions & 23 deletions .travis.yml

This file was deleted.

0 comments on commit cc40b7c

Please sign in to comment.