fixes in live view #473
This file contains hidden or 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: Tests | |
| on: [push, pull_request, workflow_dispatch] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python 3.11 | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: "3.11" | |
| cache: 'pip' | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -e .[test] | |
| pip install -e ./jumper_wrapper_kernel | |
| - name: Run tests with coverage | |
| run: | | |
| pytest --cov=jumper_extension --cov-report=xml tests/ | |
| - name: Generate coverage badge | |
| run: | | |
| python -m pip install --upgrade --force-reinstall "setuptools>=79,<82" coverage-badge | |
| coverage-badge -o coverage.svg |