Skip to content

Commit ab69033

Browse files
committed
Separate pytest steps to use the -s option for logging tests
1 parent 83cd072 commit ab69033

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/code_lint_and_test.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,17 @@ jobs:
7272
python -m pip install --upgrade pip
7373
python -m pip install -r requirements/requirements.txt
7474
75-
# Python tests with pytest
75+
# Python application tests with pytest
7676
- name: Python application tests with pytest
7777
run: |
7878
export PYTHONPATH=$PYTHONPATH:${{ env.PYTHONPATH }}
79-
pytest tests/
79+
pytest tests/test_namedtuple_maker.py
80+
81+
# Python logging tests with pytest
82+
- name: Python application tests with pytest
83+
run: |
84+
export PYTHONPATH=$PYTHONPATH:${{ env.PYTHONPATH }}
85+
pytest -s tests/test_namedtuple_logger.py
8086
8187
package-install:
8288
name: Test PyPI package installation

0 commit comments

Comments
 (0)