Skip to content

Commit

Permalink
Run ifconfig tests in Python 3 CI
Browse files Browse the repository at this point in the history
Python 3 manylinux CI image does not have net-tools (hence ifconfig)
pre-installed, so tests using it were skippied altogether.

Signed-off-by: Ben Raz <ben9923@gmail.com>
  • Loading branch information
ben9923 committed Sep 24, 2022
1 parent 031c5a6 commit 9d256d4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ jobs:
include:
- {name: Linux, python: '3.9', os: ubuntu-latest}
env:
CIBW_BEFORE_ALL_LINUX: command -v apk && apk --no-cache add coreutils procps || true
CIBW_BEFORE_ALL_LINUX: command -v apk && apk --no-cache add coreutils procps ||
(yum install -y net-tools && yum clean all)
CIBW_TEST_COMMAND:
PYTHONWARNINGS=always PYTHONUNBUFFERED=1 PSUTIL_DEBUG=1 python {project}/psutil/tests/runner.py &&
PYTHONWARNINGS=always PYTHONUNBUFFERED=1 PSUTIL_DEBUG=1 python {project}/psutil/tests/test_memleaks.py
Expand Down

0 comments on commit 9d256d4

Please sign in to comment.