Skip to content

Commit

Permalink
Update dependencies and CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
norhther committed Nov 29, 2023
1 parent e1b5619 commit 36ac7b5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ on:

jobs:
build:

runs-on: ubuntu-latest

steps:
Expand All @@ -19,13 +18,18 @@ jobs:
with:
python-version: '3.8'

- name: Set Environment Variables
run: |
echo "BASE_FILEPATH=${{ secrets.BASE_FILEPATH }}" >> $GITHUB_ENV
- name: Install dependencies
run: |
pip install -r requirements.txt
- name: Set PYTHONPATH
run: echo "PYTHONPATH=${{ github.workspace }}" >> $GITHUB_ENV

- name: Run tests
env:
MLFLOW_TRACKING_USERNAME: ${{ secrets.MLFLOW_TRACKING_USERNAME }}
MLFLOW_TRACKING_PASSWORD: ${{ secrets.MLFLOW_TRACKING_PASSWORD }}
MODEL_RUN_ID: ${{ secrets.MODEL_RUN_ID }}
run: |
pytest tests/
pytest tests/test_model.py
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Pillow==10.1.0
pytest==7.0.1
streamlit==1.28.2
codecarbon==2.3.1
mlflow==2.7.1
mlflow==2.8.1
protobuf==4.24.4
python-dotenv==1.0.0
scikit_learn==1.3.1
Expand Down

0 comments on commit 36ac7b5

Please sign in to comment.