From 69f570f55ee33730f22db26d5f8ec69002773b7f Mon Sep 17 00:00:00 2001 From: Maximos Nikiforakis Date: Thu, 15 Feb 2024 08:13:59 +0200 Subject: [PATCH] fixup! Add test-package workflow --- .github/workflows/test-package.yml | 2 ++ Makefile | 3 +++ 2 files changed, 5 insertions(+) diff --git a/.github/workflows/test-package.yml b/.github/workflows/test-package.yml index 7fc070c..1a32458 100644 --- a/.github/workflows/test-package.yml +++ b/.github/workflows/test-package.yml @@ -95,5 +95,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install local package run: make install-local-package + - name: Install requirements + run: make install-test-requirements - name: Test package run: make test-package \ No newline at end of file diff --git a/Makefile b/Makefile index c2ead1e..7b601ab 100644 --- a/Makefile +++ b/Makefile @@ -12,6 +12,9 @@ install-package-uploader: install-local-package: $(PIP) install -e . +install-test-requirements: + $(PIP) install unittest-extensions + test-package: $(INTERPRETER) -m unittest discover -v src/property_utils/tests/