Skip to content

Commit

Permalink
add docs build and ignore jsonschema warning
Browse files Browse the repository at this point in the history
  • Loading branch information
blink1073 committed Apr 2, 2022
1 parent 71eacfc commit 26a2cd8
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,9 @@ jobs:
OS: "macos-latest"
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.PYTHON_VERSION }}
- uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
- name: Install test dependencies
run: |
pip install --upgrade pip setuptools wheel
pip install .[test]
pip install codecov pytest-cov
- name: Install nbformat
Expand All @@ -48,3 +44,13 @@ jobs:
run: check-manifest -v
- name: Coverage
run: codecov

docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
- run: cd docs
pip install -r requirements.txt
make html SPHINXOPTS="-W"
make linkcheck
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ testpaths = [
]
filterwarnings = [
"error",
"ignore:Using or importing the ABCs from 'collections':DeprecationWarning:jsonschema"
]

0 comments on commit 26a2cd8

Please sign in to comment.