Skip to content

Commit

Permalink
Issue #16 add a lint run to check pytest collection works
Browse files Browse the repository at this point in the history
  • Loading branch information
soxofaan committed Jan 22, 2024
1 parent b1e16a2 commit 57da9bb
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,14 @@ jobs:
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
python -m pip install isort black ruff
python -m pip install isort black ruff pytest
- name: isort
run: python -m isort . --check --diff
# - name: black
# run: python -m black --check --diff .
- name: ruff
run: ruff check .
- name: "pytest: check test collection"
run: |
python -m pip install .[dev]
pytest --collect-only

0 comments on commit 57da9bb

Please sign in to comment.