From d6da740d358582586d8d3d8ffbdfaad9e059d342 Mon Sep 17 00:00:00 2001 From: Sam Stoelinga Date: Fri, 27 Oct 2023 13:56:13 -0700 Subject: [PATCH] fix GHA --- .github/workflows/tests.yml | 6 ++++-- requirements.txt | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index ad2a9c8..9529d08 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -19,9 +19,11 @@ jobs: # You can test your matrix by printing the current Python version - name: Display Python version run: python -c "import sys; print(sys.version)" + - name: Upgrade pip + run: pip3 install --upgrade pip - name: Install dependencies - run: pip install -r requirements.txt + run: pip3 install -r requirements.txt - name: Install test dependencies - run: pip install -r test-requirements.txt + run: pip3 install -r test-requirements.txt - name: Integration tests run: pytest diff --git a/requirements.txt b/requirements.txt index e43e2e4..07834bf 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,3 @@ fastapi -sentence-transformers +sentence-transformers==2.2.2 uvicorn[standard]