fixes+improvements #90
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: Typing Tests | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
run: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
defaults: | |
run: | |
shell: bash | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python 3.12 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.12' | |
- name: Run mypy | |
run: | | |
python -m pip install -r requirements_typing.txt | |
git clone https://github.com/progressivis/progressivis.git | |
cd progressivis | |
git submodule init | |
git submodule update --remote --merge | |
cd .. | |
python -m pip install panel | |
python -m pip install ./progressivis | |
mv mypy_ci.ini mypy.ini | |
mypy --strict ipyprogressivis/ |