Skip to content

Commit

Permalink
update CI conf
Browse files Browse the repository at this point in the history
  • Loading branch information
giampaolo committed Jun 20, 2024
1 parent 0cedf53 commit 1f1a79b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
- name: Install pydeps
run: |
python.exe -m pip install --upgrade --user setuptools pip wheel
python.exe -m pip install --upgrade mock ipaddress pypiwin32 wmi pyopenssl psutil
python.exe -m pip install --upgrade mock ipaddress pypiwin32 wmi pyopenssl psutil pytest
python.exe -m pip freeze
python.exe setup.py install
Expand Down
6 changes: 3 additions & 3 deletions scripts/internal/winmake.py
Original file line number Diff line number Diff line change
Expand Up @@ -373,10 +373,10 @@ def lint():
sh("%s -m flake8 %s" % (PYTHON, py_files), nolog=True)


def test():
def test(args=""):
"""Run tests."""
build()
sh("%s -m pytest %s" % (PYTHON, PYTEST_ARGS))
sh("%s -m pytest %s %s" % (PYTHON, PYTEST_ARGS, args))


def test_authorizers():
Expand Down Expand Up @@ -429,7 +429,7 @@ def coverage():
def test_by_name(name):
"""Run test by name."""
build()
sh("%s -m unittest -v %s" % (PYTHON, name))
test(name)


def test_failed():
Expand Down

0 comments on commit 1f1a79b

Please sign in to comment.