File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -25,15 +25,15 @@ jobs:
25
25
26
26
- name : Install sphinx dependencies
27
27
run : >-
28
- python -m
28
+ python3 -m
29
29
pip install
30
30
sphinx
31
31
sphinx-argparse
32
32
--user
33
33
34
34
- name : Install tldr dependencies
35
35
run : >-
36
- python -m
36
+ python3 -m
37
37
pip install
38
38
-r
39
39
requirements.txt
47
47
run : python3 -m flake8
48
48
49
49
- name : Run test suite
50
- run : python3 setup.py pytest
50
+ run : python3 -m pytest tests/
51
51
52
52
- name : Test tldr cli
53
53
run : |
Original file line number Diff line number Diff line change @@ -142,7 +142,7 @@ def test_get_commands(monkeypatch, tmp_path):
142
142
Path .mkdir (cache_default , parents = True )
143
143
Path .touch (cache_default / "lspci.md" )
144
144
145
- monkeypatch .setenv ("HOME" , tmp_path )
145
+ monkeypatch .setenv ("HOME" , str ( tmp_path ) )
146
146
147
147
result = tldr .get_commands (platforms = ["linux" ])
148
148
You can’t perform that action at this time.
0 commit comments