From 85034b382e58c47cf6eb6e8245c06bb3b7e39dcf Mon Sep 17 00:00:00 2001 From: Alex Grintsvayg Date: Wed, 21 Apr 2021 11:41:16 -0400 Subject: [PATCH] Revert "run tests using make" This reverts commit 77a51d1ad43404e5dc52af715a7bebfaeb3fee16. --- .github/workflows/main.yml | 2 +- Makefile | 12 ++---------- 2 files changed, 3 insertions(+), 11 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 35b1c7742..880e3e7df 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -25,7 +25,7 @@ jobs: - working-directory: lbry env: HOME: /tmp - run: make test-unit-coverage + run: coverage run -p --source=lbry -m unittest discover -vv tests.unit tests-integration: name: "tests / integration" diff --git a/Makefile b/Makefile index c48760d2f..a6221fa03 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -.PHONY: install tools lint test test-unit test-unit-coverage test-integration idea +.PHONY: install tools lint test idea install: pip install https://s3.amazonaws.com/files.lbry.io/python_libtorrent-1.2.4-py3-none-any.whl @@ -16,15 +16,7 @@ lint: pylint --rcfile=setup.cfg lbry #mypy --ignore-missing-imports lbry -test: test-unit test-integration - -test-unit: - python -m unittest discover tests.unit - -test-unit-coverage: - coverage run -p --source=lbry -m unittest discover -vv tests.unit - -test-integration: +test: tox idea: