From 57da9bb0b1788733126cbd5f475e3d40b420a6b6 Mon Sep 17 00:00:00 2001 From: Stefaan Lippens Date: Mon, 22 Jan 2024 13:54:43 +0100 Subject: [PATCH] Issue #16 add a lint run to check pytest collection works --- .github/workflows/lint.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 8462b37..20afd9a 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -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