summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Finucane <stephenfin@redhat.com>2022-02-07 11:06:17 +0000
committerStephen Finucane <stephenfin@redhat.com>2022-02-08 11:44:39 +0000
commitb3de384177622d8b4e8c53e69a39261ccfdb5829 (patch)
tree62ae6faf43293232210a4cd378020031cb51750b
parent948e811412ea0a83a8fc466719da5f6e75746954 (diff)
downloadfixtures-git-b3de384177622d8b4e8c53e69a39261ccfdb5829.tar.gz
Stop using 'make' to run tests
tox can run the command directly. Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
-rw-r--r--.github/workflows/ci.yaml7
-rw-r--r--tox.ini3
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