Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@ jobs:

- name: Install sphinx dependencies
run: >-
python -m
python3 -m
pip install
sphinx
sphinx-argparse
--user

- name: Install tldr dependencies
run: >-
python -m
python3 -m
pip install
-r
requirements.txt
Expand All @@ -47,7 +47,7 @@ jobs:
run: python3 -m flake8

- name: Run test suite
run: python3 setup.py pytest
run: python3 -m pytest tests/

- name: Test tldr cli
run: |
Expand Down
2 changes: 1 addition & 1 deletion tests/test_tldr.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def test_get_commands(monkeypatch, tmp_path):
Path.mkdir(cache_default, parents=True)
Path.touch(cache_default / "lspci.md")

monkeypatch.setenv("HOME", tmp_path)
monkeypatch.setenv("HOME", str(tmp_path))

result = tldr.get_commands(platforms=["linux"])

Expand Down