From f45a053e4f46d52964b7a7b8a97d850fbf18736a Mon Sep 17 00:00:00 2001 From: Jennifer Power Date: Fri, 20 Oct 2023 19:24:12 -0400 Subject: [PATCH] docs: updates contributing and Makefile with updated targets Signed-off-by: Jennifer Power --- .github/workflows/ci.yml | 2 +- CONTRIBUTING.md | 3 +-- Makefile | 3 +-- 3 files changed, 3 insertions(+), 5 deletions(-) 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