Skip to content

Commit feabeb9

Browse files
committed
attempt to fix pkgs error
1 parent fa9b360 commit feabeb9

File tree

3 files changed

+57
-0
lines changed

3 files changed

+57
-0
lines changed

.env

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
ACT_RUNNER_UID=0
2+
ACT_RUNNER_GID=0
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
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

images/tests_common/test_packages.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@
9898
"jupyterlab-git",
9999
"jupyter-pluto-proxy",
100100
"python-lsp-server",
101+
"mamba",
101102
]
102103

103104

0 commit comments

Comments
 (0)