Fix leaflet (#742) #41
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
name: CI | |
on: | |
push: | |
branches: | |
- master | |
tags: | |
- 'v*' | |
pull_request: | |
branches: | |
- master | |
jobs: | |
lint-build: | |
name: Linting | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python 3.9 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.9 | |
- name: Install dev dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -U invoke pycodestyle flake8 | |
- name: Lint | |
run: | | |
invoke test --style; | |
docs-build: | |
name: Docs | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python 3.9 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.9 | |
- name: Install dev dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -U invoke sphinx tornado pscript>=0.5.6 webruntime dialite; | |
- name: Build docs | |
run: | | |
python -c 'import flexx.ui'; | |
invoke docs --clean --build; | |
test-builds: | |
name: ${{ matrix.name }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- name: Test Linux py35 | |
os: ubuntu-latest | |
pyversion: '3.5' | |
- name: Test Linux py36 | |
os: ubuntu-latest | |
pyversion: '3.6' | |
- name: Test Linux py37 | |
os: ubuntu-latest | |
pyversion: '3.7' | |
- name: Test Linux py38 | |
os: ubuntu-latest | |
pyversion: '3.8' | |
- name: Test Linux py39 | |
os: ubuntu-latest | |
pyversion: '3.9' | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python ${{ matrix.pyversion }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.pyversion }} | |
- name: Install dev dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -U tornado pscript>=0.5.6 webruntime dialite; | |
pip install -U invoke pytest pytest-cov; | |
- name: Unit tests | |
uses: GabrielBB/xvfb-action@v1 | |
with: | |
run: invoke test --unit |