File tree Expand file tree Collapse file tree 2 files changed +36
-0
lines changed Expand file tree Collapse file tree 2 files changed +36
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Test Metaflow with complete Kubernetes stack
2
+
3
+ on : [push, pull_request]
4
+
5
+ jobs :
6
+ test :
7
+ runs-on : ubuntu-latest
8
+
9
+ steps :
10
+ - name : Check out source
11
+ uses : actions/checkout@v4
12
+
13
+ - name : Install Metaflow
14
+ run : |
15
+ python -m pip install --upgrade pip
16
+ pip install metaflow kubernetes
17
+
18
+
19
+ - name : Bring up the environment
20
+ run : |
21
+ echo "Starting environment in the background..."
22
+ MINIKUBE_CPUS=2 metaflow-dev all-up &
23
+ # Give time to spin up. Adjust as needed:
24
+ sleep 150
25
+
26
+ - name : Wait & run flow
27
+ run : |
28
+ metaflow-dev shell
29
+ echo "Environment is ready; running flow now..."
30
+ python metaflow/tutorials/00-helloworld/helloworld.py run --with kubernetes
31
+
32
+ - name : Tear down environment
33
+ run : |
34
+ metaflow-dev down
Original file line number Diff line number Diff line change 19
19
- uses : pre-commit/action@9b88afc9cd57fd75b655d5c71bd38146d07135fe # v2.0.3
20
20
21
21
Python :
22
+ if : false # disable for testing purposes.
22
23
name : core / Python ${{ matrix.ver }} on ${{ matrix.os }}
23
24
runs-on : ${{ matrix.os }}
24
25
strategy :
55
56
run : tox
56
57
57
58
R :
59
+ if : false # disable for testing purposes.
58
60
name : core / R ${{ matrix.ver }} on ${{ matrix.os }}
59
61
runs-on : ${{ matrix.os }}
60
62
strategy :
You can’t perform that action at this time.
0 commit comments