Skip to content

Commit 46d46ed

Browse files
committed
Fix Test and gh-actions py ver in matrix test
1 parent 975fe13 commit 46d46ed

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545

4646
- name: Run tests
4747
# For example, using `pytest`
48-
run: uv run pytest tests
48+
run: uv run -p ${{matrix.python-version}} pytest tests
4949

5050
# Generate Coverage
5151
- name: Generate coverage report

tests/app_tests/test_filepanel.py

+2-3
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,7 @@ async def test_filepanel_folder(
6565
== file_list[0]
6666
)
6767

68-
if folder_list and (folder_list[0] != "."):
68+
if folder_list:
6969
assert (
70-
pilot.app.file_selector.query(ListItem).first().dir_name
71-
== folder_list[1] # ordered descending
70+
pilot.app.file_selector.query(ListItem).first().dir_name in folder_list
7271
)

0 commit comments

Comments
 (0)