File tree Expand file tree Collapse file tree 3 files changed +57
-0
lines changed
Expand file tree Collapse file tree 3 files changed +57
-0
lines changed Original file line number Diff line number Diff line change 1+ ACT_RUNNER_UID = 0
2+ ACT_RUNNER_GID = 0
Original file line number Diff line number Diff line change 1+ name : LOCAL Build and Test
2+
3+ env :
4+ DOCKER_CLIENT_TIMEOUT : " 300"
5+ COMPOSE_HTTP_TIMEOUT : " 300"
6+
7+ on :
8+ push :
9+ paths :
10+ - " images/**"
11+ - " model/**"
12+ - " scripts/**"
13+ - " dodo.py"
14+ - " .github/workflows/local-build-test.yml"
15+
16+ pull_request :
17+ branches : [ main ]
18+ paths :
19+ - " images/**"
20+ - " model/**"
21+ - " scripts/**"
22+ - " dodo.py"
23+ - " .github/workflows/local-build-test.yml"
24+
25+ workflow_dispatch :
26+
27+ jobs :
28+ docker-pipeline :
29+ name : Docker Pipeline
30+ runs-on : ubuntu-latest
31+ steps :
32+ - name : Checkout Code
33+ uses : actions/checkout@v3
34+ with :
35+ fetch-depth : 0
36+
37+ - name : Install pip dependencies
38+ run : |
39+ sudo apt update
40+ sudo apt install -y python3-pip
41+ python3 -m venv venv
42+ source venv/bin/activate
43+ python3 -m pip install --upgrade pip
44+ python3 -m pip install -r scripts/requirements.txt
45+
46+ - name : Run Build and Tests
47+ run : |
48+ source venv/bin/activate
49+ python3 scripts/main.py
50+
51+ - name : Check Free Space
52+ run : |
53+ echo "Free space:"
54+ df -h
Original file line number Diff line number Diff line change 9898 "jupyterlab-git" ,
9999 "jupyter-pluto-proxy" ,
100100 "python-lsp-server" ,
101+ "mamba" ,
101102]
102103
103104
You can’t perform that action at this time.
0 commit comments