Skip to content

Merge pull request #45 from AnthonyAndroulakis/main #128

Merge pull request #45 from AnthonyAndroulakis/main

Merge pull request #45 from AnthonyAndroulakis/main #128

Workflow file for this run

name: Build
on:
push:
branches: main
pull_request:
branches: "*"
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ["3.7", "3.10"]
steps:
- name: Checkout
uses: actions/checkout@v2
- uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
- name: Install dependencies
run: |
python -m pip install -U codecov
npm install -g codecov
- name: Test the extension
run: |
python -m pip install --upgrade -v -e ".[test, examples, docs]"
python -m pytest
yarn run test
- name: Linting
if: ${{ matrix.os == 'ubuntu-latest' }}
run: |
yarn run lint:check
- name: Check docs can be built + links
if: ${{ matrix.os == 'ubuntu-latest' }}
working-directory: docs
run: |
sudo apt install -y pandoc
python -m pip install pydata-sphinx-theme
make html
python -m pytest --check-links