From bc81ccaf28ed31f9456c7c54a6104cff24ec5951 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Robert?= Date: Tue, 9 Apr 2024 09:49:10 +0200 Subject: [PATCH] TST: call pip list instead of python -c --- .github/workflows/ci_tests.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci_tests.yml b/.github/workflows/ci_tests.yml index 8ed04d81..676c82c8 100644 --- a/.github/workflows/ci_tests.yml +++ b/.github/workflows/ci_tests.yml @@ -96,12 +96,10 @@ jobs: - name: Install graphviz dependency if: "endsWith(matrix.tox_env, 'build_docs')" run: sudo apt-get -y install graphviz - - name: Print Python, pip, setuptools, and tox versions + - name: Print Python env run: | - python -c "import sys; print(f'Python {sys.version}')" - python -c "import pip; print(f'pip {pip.__version__}')" - python -c "import setuptools; print(f'setuptools {setuptools.__version__}')" - python -c "import tox; print(f'tox {tox.__version__}')" + python --version + python -m pip list - name: Run tests if: "! matrix.use_remote_data" run: |