From 2c3ac5b31cf87aba6d911bc2b86a2440a9cbba62 Mon Sep 17 00:00:00 2001 From: Armand Sauzay <35524799+armand-sauzay@users.noreply.github.com> Date: Thu, 6 Jun 2024 21:54:17 +0000 Subject: [PATCH] fix: run tests for pip based workflows --- test/action.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/action.yaml b/test/action.yaml index 5ee8b52..6ec62f4 100644 --- a/test/action.yaml +++ b/test/action.yaml @@ -61,7 +61,8 @@ runs: elif [[ -f setup.py ]]; then python setup.py test -- ${{ inputs.test-flags }} else - echo "No tests found" + pip install pytest + pytest ${{ inputs.test-flags }} fi # If we do have a poetry.lock, we use a poetry based workflow - name: install poetry