diff options
author | Stephen Finucane <stephenfin@redhat.com> | 2022-02-07 11:06:17 +0000 |
---|---|---|
committer | Stephen Finucane <stephenfin@redhat.com> | 2022-02-08 11:44:39 +0000 |
commit | b3de384177622d8b4e8c53e69a39261ccfdb5829 (patch) | |
tree | 62ae6faf43293232210a4cd378020031cb51750b | |
parent | 948e811412ea0a83a8fc466719da5f6e75746954 (diff) | |
download | fixtures-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.yaml | 7 | ||||
-rw-r--r-- | 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 @@ -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 |