diff --git a/.github/workflows/mlops-pipeline.yml b/.github/workflows/mlops-pipeline.yml index 14e2122..cd5a04e 100644 --- a/.github/workflows/mlops-pipeline.yml +++ b/.github/workflows/mlops-pipeline.yml @@ -37,10 +37,18 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Setup DVC + - name: Setup Python + uses: actions/setup-python@v4 + with: + python-version: '3.12' + + - name: Install dependencies run: | - pip install dvc[s3] - dvc pull + pip install poetry + poetry install + + - name: Setup DVC + run: poetry run dvc pull - name: Train model run: poetry run python src/models/train.py