From 01369de6b6d2aa88b9958b67ef08fac554de3f3e 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 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 8462b37..eef18dd 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -21,10 +21,12 @@ 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 pytest --collect-only