add docs on how to run tests, use sys.executable
instead of "python"
#138
Workflow file for this run
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: lint_python | |
on: [pull_request, push] | |
jobs: | |
lint_python: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: 3.x | |
- run: pip install --upgrade pip setuptools wheel | |
- run: pip install --editable ".[dev]" | |
- run: codespell . | |
- run: ruff --output-format=github . | |
- run: black --check . | |
- run: mypy . | |
- run: pytest -vv . | |
- run: pytest --doctest-modules . | |
- run: safety check |