From db937a40264ef2ea6ac5220cdc9fdd2275c50075 Mon Sep 17 00:00:00 2001 From: Agriya Khetarpal <74401230+agriyakhetarpal@users.noreply.github.com> Date: Tue, 30 Jul 2024 21:07:23 +0530 Subject: [PATCH] Preface command-line `tox` invocation with `python -m` --- .github/workflows/check.yml | 2 +- .github/workflows/test.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 84dd16f5..bdb5aa1c 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -30,4 +30,4 @@ jobs: run: | python -m pip install tox wheel - name: Run ${{ matrix.env }} - run: tox -e ${{ matrix.env }} + run: python -m tox -e ${{ matrix.env }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e819d69d..7806412c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -37,10 +37,10 @@ jobs: - name: Install Python build tools run: python -m pip install tox wheel - name: Run tests - run: tox run -e py + run: python -m tox run -e py - name: Install Scipy prerequisites for Ubuntu if: startsWith(matrix.platform, 'ubuntu') run: sudo apt-get install libopenblas-dev - name: Run tests with scipy if: startsWith(matrix.platform, 'ubuntu') || startsWith(matrix.python-version, 'pypy') != true - run: tox run -e py-scipy + run: python -m tox run -e py-scipy