Skip to content

ML Pipelines

ML Pipelines #14

Workflow file for this run

name: ML Pipelines
on:
schedule:
- cron: '0 */2 * * *' # Runs every two hours
push:
branches:
- main
workflow_dispatch: # Allows manual triggering from GitHub UI
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
# feature_engineering:
# name: Feature Engineering
# runs-on: ubuntu-latest
# steps:
# - name: Checkout repository
# uses: actions/checkout@v3
# - uses: ./.github/actions/setup
# - name: Run pipeline
# run: uv run ipython notebooks/1_feature_engineering.ipynb
# env:
# HOPSWORKS_API_KEY: ${{ secrets.HOPSWORKS_API_KEY }}
# train_retrieval:
# needs: feature_engineering
# name: Train Retrieval Model
# runs-on: ubuntu-latest
# steps:
# - name: Checkout repository
# uses: actions/checkout@v3
# - uses: ./.github/actions/setup
# - name: Run pipeline
# run: uv run ipython notebooks/2_train_retrieval_model.ipynb
# env:
# HOPSWORKS_API_KEY: ${{ secrets.HOPSWORKS_API_KEY }}
# create_embeddings:
# needs: train_retrieval
# name: Create Embeddings
# runs-on: ubuntu-latest
# steps:
# - name: Checkout repository
# uses: actions/checkout@v3
# - uses: ./.github/actions/setup
# - name: Run pipeline
# run: uv run ipython notebooks/3_embeddings_creation.ipynb
# env:
# HOPSWORKS_API_KEY: ${{ secrets.HOPSWORKS_API_KEY }}
train_ranking:

Check failure on line 60 in .github/workflows/ml_pipelines.yaml

View workflow run for this annotation

GitHub Actions / ML Pipelines

Invalid workflow file

The workflow is not valid. .github/workflows/ml_pipelines.yaml (Line: 60, Col: 3): The workflow must contain at least one job with no dependencies.
needs: create_embeddings
name: Train Ranking Model
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- uses: ./.github/actions/setup
- name: Run pipeline
run: uv run ipython notebooks/4_train_ranking_model.ipynb
env:
HOPSWORKS_API_KEY: ${{ secrets.HOPSWORKS_API_KEY }}