From e1b56192c82fd0081962829b2c8a25df6f3fbd44 Mon Sep 17 00:00:00 2001 From: norhther Date: Wed, 29 Nov 2023 20:11:22 +0100 Subject: [PATCH] Update dependencies and CI workflow --- .github/workflows/ci.yml | 6 ++++++ requirements.txt | 27 ++++++++++++++------------- 2 files changed, 20 insertions(+), 13 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d34cf16..1506a3a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,13 +13,19 @@ jobs: steps: - uses: actions/checkout@v2 + - name: Set up Python uses: actions/setup-python@v2 with: python-version: '3.8' + - name: Install dependencies run: | pip install -r requirements.txt + + - name: Set PYTHONPATH + run: echo "PYTHONPATH=${{ github.workspace }}" >> $GITHUB_ENV + - name: Run tests run: | pytest tests/ diff --git a/requirements.txt b/requirements.txt index c795705..ca5e0a1 100755 --- a/requirements.txt +++ b/requirements.txt @@ -1,13 +1,14 @@ -Pillow==10.1.0 -pytest==7.0.1 -streamlit==1.28.2 -codecarbon==2.3.1 -mlflow==2.7.1 -protobuf==4.24.4 -python-dotenv==1.0.0 -scikit_learn==1.3.1 -setuptools==68.2.2 -tensorflow==2.13.1 -uvicorn==0.24.0.post1 -fastapi==0.100 -python-multipart==0.0.6 +Pillow==10.1.0 +pytest==7.0.1 +streamlit==1.28.2 +codecarbon==2.3.1 +mlflow==2.7.1 +protobuf==4.24.4 +python-dotenv==1.0.0 +scikit_learn==1.3.1 +setuptools==68.2.2 +tensorflow==2.13.1 +uvicorn==0.24.0.post1 +fastapi==0.100 +python-multipart==0.0.6 +httpx==0.25.2 \ No newline at end of file