Skip to content

Commit

Permalink
Add pytest on CI (jupyterlab-contrib#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
fcollonval committed Feb 25, 2022
1 parent f99f347 commit bad83b3
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,15 +56,30 @@ jobs:
jlpm
jlpm run eslint:check
python -m pip install .[tests]
- name: Linter check
run: |
set -eux
python -m pre_commit run --all
- name: Test
run: |
set -eux
python -m pytest -vv -r ap --cov jupyterlab_search_replace
- name: Check JupyterLab installation
run: |
set -eux
jupyter server extension list
jupyter server extension list 2>&1 | grep -ie "jupyterlab_search_replace.*OK"
jupyter labextension list
jupyter labextension list 2>&1 | grep -ie "jupyterlab-search-replace.*OK"
python -m jupyterlab.browser_check
- name: Build package
run: |
set -eux
check-manifest -v
pip install build
Expand Down

0 comments on commit bad83b3

Please sign in to comment.