From 747292edc164329bd2343880bac11d1a6a7300d5 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 | 8 +++++--- requirements.txt | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index ad2a9c8..b109869 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.9", "3.10", "3.11", "3.12"] + python-version: ["3.9", "3.10", "3.11"] steps: - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} @@ -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]