feat: run all ML pipelines using GA #21
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install uv | |
uses: astral-sh/setup-uv@v3 | |
with: | |
version: 0.4.30 | |
- name: Get notebook list | |
id: ml_pipelines # Changed from ml_pipelines to match matrix reference | |
run: | | |
echo "ml_pipelines=$(ls notebooks/*.ipynb | sort -n | jq -R -s -c 'split("\n")[:-1]')" >> $GITHUB_OUTPUT | |
- name: Set up Python | |
run: uv python install | |
- name: Install the project | |
run: | | |
uv sync --all-extras --dev | |
- name: Run pipeline | |
run: uv run ipython ${{ matrix.ml_pipelines }} # Changed from ml_pipelines to notebook | |
env: | |
HOPSWORKS_API_KEY: ${{ secrets.HOPSWORKS_API_KEY }} | |
strategy: # Moved strategy to correct indentation level | |
matrix: | |
ml_pipelines: ${{ fromJson(steps.notebooks.outputs.notebooks) }} |