From 4de96c186c4d9c312a86c8e5451af98c171d519c Mon Sep 17 00:00:00 2001 From: Melissa Autumn Date: Mon, 18 Dec 2023 15:33:40 -0800 Subject: [PATCH] Install the package instead of manually installing requirements. --- .github/workflows/backend-tests.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/backend-tests.yml b/.github/workflows/backend-tests.yml index d827cedb0..b7fc61836 100644 --- a/.github/workflows/backend-tests.yml +++ b/.github/workflows/backend-tests.yml @@ -25,8 +25,7 @@ jobs: run: | cd ./backend python -m pip install --upgrade pip - python -m pip install -r requirements.txt - python -m pip install -r requirements-test.txt + python -m pip install .'[test]' - name: Test with pytest run: | - cd ./backend/test && python -m pytest + cd ./backend && python -m pytest