diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8a7df86c..cb09aca1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -66,4 +66,4 @@ jobs: python-version: ${{ matrix.python-version }} - name: Run tests - run: make test + run: make test \ No newline at end of file diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index f44e2d0f..dd022e03 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -61,10 +61,9 @@ make lint ```bash # Run all tests make test +make test-slow # Run specific tests -make test-unit -make test-integration make test-e2e ``` diff --git a/Makefile b/Makefile index 28da1809..4f908e99 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,4 @@ PYMODULE := trestlebot -INTEGRATION := integration E2E := e2e TESTS := tests @@ -34,7 +33,7 @@ test: test-slow: @poetry run pytest --slow --cov --cov-config=pyproject.toml --cov-report=xml -.PHONY: test-unit +.PHONY: test-slow test-e2e: @poetry run pytest $(TESTS)/$(E2E) --slow --cov --cov-config=pyproject.toml --cov-report=xml