Skip to content

Commit cbfd21b

Browse files
committed
Added fix for PyTest
1 parent ce40583 commit cbfd21b

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/lint_pr.yml

+5-2
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,11 @@ jobs:
9494
if: ${{ matrix.tool == 'pytest' }}
9595
id: pytest
9696
run: |
97-
pytest ./patterns
98-
pytest --doctest-modules ./patterns || true
97+
echo "Running pytest discovery..."
98+
python -m pytest --collect-only -v
99+
echo "Running tests..."
100+
python -m pytest ./tests -v
101+
python -m pytest --doctest-modules ./patterns -v || true
99102
100103
# Check Python version compatibility
101104
- name: Check Python version compatibility

0 commit comments

Comments
 (0)