Spaces:
Runtime error
Runtime error
| name: lint_pytest | |
| on: push | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: psf/black@stable | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.9.19" | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -r requirements.txt | |
| - name: Ruff | |
| run: | | |
| ruff check --output-format=github . | |
| - name: Mypy | |
| run: | | |
| mypy . --install-types --non-interactive | |
| - name: Test with pytest | |
| run: | | |
| pytest -s tests.py --doctest-modules --junitxml=junit/test-results.xml --cov=com --cov-report=xml --cov-report=html | |