Skip to content

Commit

Permalink
Merge branch 'master' into add-triggered-by-user
Browse files Browse the repository at this point in the history
  • Loading branch information
iamsgarg-ob authored Mar 5, 2025
2 parents ceb9090 + b32894e commit 1e4467a
Show file tree
Hide file tree
Showing 4 changed files with 1,408 additions and 1,739 deletions.
43 changes: 43 additions & 0 deletions .github/workflows/full-stack-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Test Metaflow with complete Kubernetes stack

on:
push:
branches:
- master
pull_request:
branches:
- master

jobs:
test:
runs-on: ubuntu-latest

steps:
- name: Check out source
uses: actions/checkout@v4

- name: Install Metaflow
run: |
python -m pip install --upgrade pip
pip install . kubernetes
- name: Bring up the environment
run: |
echo "Starting environment in the background..."
MINIKUBE_CPUS=2 metaflow-dev all-up &
# Give time to spin up. Adjust as needed:
sleep 150
- name: Wait & run flow
run: |
# When the environment is up, metaflow-dev shell will wait for readiness
# and then drop into a shell. We feed commands via a heredoc:
cat <<EOF | metaflow-dev shell
echo "Environment is ready; running flow now..."
python metaflow/tutorials/00-helloworld/helloworld.py run --with kubernetes
EOF
- name: Tear down environment
run: |
metaflow-dev down
23 changes: 23 additions & 0 deletions .github/workflows/test-card-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Test Card UI builds

on:
pull_request:
branches:
- master
paths:
- 'metaflow/plugins/cards/ui/**'

jobs:
testbuild:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./metaflow/plugins/cards/ui
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '20.x'
- run: npm ci
- run: npm run build
102 changes: 52 additions & 50 deletions metaflow/plugins/cards/card_modules/main.js

Large diffs are not rendered by default.

Loading

0 comments on commit 1e4467a

Please sign in to comment.