From 870dd95edb55caeaacd59619f91dec53451a327e Mon Sep 17 00:00:00 2001 From: Zhaoyilunnn <40353317+Zhaoyilunnn@users.noreply.github.com> Date: Sun, 17 Sep 2023 22:45:51 +0800 Subject: [PATCH] fix: first install and then run pytest in unit_test.yml --- .github/workflows/unit_test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/unit_test.yml b/.github/workflows/unit_test.yml index 0f4197c..e00bec2 100644 --- a/.github/workflows/unit_test.yml +++ b/.github/workflows/unit_test.yml @@ -20,4 +20,4 @@ jobs: pip install pytest - name: Run unit test with pytest run: | - pytest tests/ + pip install . && pytest tests/