Skip to content

Commit 0d6040c

Browse files
jet-logicjet-logic
authored andcommitted
try with psutil
1 parent 01443e7 commit 0d6040c

File tree

2 files changed

+17
-7
lines changed

2 files changed

+17
-7
lines changed

.github/workflows/build.yml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,13 @@ jobs:
3333
echo "Version mismatch!"
3434
exit 1
3535
fi
36-
# - name: Upload coverage to Codecov
37-
# uses: codecov/codecov-action@v3
36+
37+
- name: Install psutil
38+
run: |
39+
python -m pip install psutil
40+
41+
- name: Run tests
42+
run: python -m pytest
3843

3944
Windows:
4045
runs-on: windows-latest
@@ -72,3 +77,10 @@ jobs:
7277

7378
- name: Run tests
7479
run: python -m pytest
80+
81+
- name: Install psutil
82+
run: |
83+
python -m pip install psutil
84+
85+
- name: Run tests
86+
run: python -m pytest

tests/test_utils.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,9 @@ def test_tail_bytes(self):
6161

6262
def test_spawn_echo(self):
6363
pdb = ProcessDB()
64-
if os.name == "nt":
65-
kw = {"creationflags": subprocess.CREATE_NO_WINDOW}
66-
else:
67-
kw = {}
68-
64+
kw = {}
65+
# if os.name == "nt":
66+
# kw["creationflags"] = subprocess.CREATE_NO_WINDOW
6967
p = pdb.spawn(
7068
[
7169
"python",

0 commit comments

Comments
 (0)