From b3de384177622d8b4e8c53e69a39261ccfdb5829 Mon Sep 17 00:00:00 2001 From: Stephen Finucane Date: Mon, 7 Feb 2022 11:06:17 +0000 Subject: Stop using 'make' to run tests tox can run the command directly. Signed-off-by: Stephen Finucane --- .github/workflows/ci.yaml | 7 ++++--- tox.ini | 3 +-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 105aec1..6444a72 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -20,9 +20,10 @@ jobs: with: python-version: ${{ matrix.python }} - name: Install dependencies - run: python -m pip install .[docs,test] - - name: Run unit tests - run: make check + run: python -m pip install tox + - name: Run unit tests (via tox) + # Run tox using the version of Python in `PATH` + run: tox -e py docs: name: Build docs runs-on: ubuntu-latest diff --git a/tox.ini b/tox.ini index 4c7a792..0bba5e2 100644 --- a/tox.ini +++ b/tox.ini @@ -4,8 +4,7 @@ minversion = 3.1 [testenv] usedevelop = true -whitelist_externals = make extras = docs test -commands = make check +commands = python -m testtools.run fixtures.test_suite -- cgit v1.2.1