From a66c6e4cc236a3e34772b8397d8c674ff14439c2 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 f483af9..63dc980 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 flake8 + python -m pip install isort black flake8 pytest - name: isort run: python -m isort . --check --diff # - name: black # run: python -m black --check --diff . # - name: flake8 # run: python -m flake8 . + - name: "pytest: check test collection" + run: python -m pytest --collect-only