update doc #46
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: Unit testing | |
on: | |
- push | |
- workflow_dispatch | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: "3.8" | |
- uses: pre-commit/action@v3.0.0 | |
- name: install dependencies | |
run: python -m pip install -r requirements.txt | |
- name: build the application | |
run: | | |
python -m pip install pytest nbmake | |
pytest --nbmake ui.ipynb |