File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Execd Tests
2+
3+ on :
4+ pull_request :
5+ branches : [ main ]
6+ paths :
7+ - ' components/execd/**'
8+
9+ jobs :
10+ test :
11+ runs-on : ubuntu-latest
12+ steps :
13+ - name : Checkout code
14+ uses : actions/checkout@v4
15+
16+ - name : Set up Go
17+ uses : actions/setup-go@v5
18+ with :
19+ go-version : ' 1.24.0'
20+
21+ - name : Run golint
22+ run : |
23+ cd components/execd
24+ make golint
25+
26+ - name : Build
27+ run : |
28+ cd components/execd
29+ make build
30+
31+ - name : Run tests
32+ run : |
33+ cd components/execd
34+ make test
35+
36+ smoke :
37+ runs-on : ubuntu-latest
38+ steps :
39+ - name : Checkout code
40+ uses : actions/checkout@v4
41+
42+ - name : Set up Go
43+ uses : actions/setup-go@v5
44+ with :
45+ go-version : ' 1.24.0'
46+
47+ - name : Set up Python
48+ uses : actions/setup-python@v5
49+ with :
50+ python-version : ' 3.10'
51+
52+ - name : Build
53+ run : |
54+ cd components/execd
55+ make build
56+
57+ - name : Run smoke test
58+ run : |
59+ cd components/execd
60+ chmod +x tests/smoke.sh
61+ ./tests/smoke.sh
62+
63+ sleep 5
64+ cat execd.log
65+ cat /tmp/jupyter.log
66+ curl -v localhost:44772/ping
Original file line number Diff line number Diff line change 1212# See the License for the specific language governing permissions and
1313# limitations under the License.
1414
15- FROM golang:1.25.4 AS builder
15+ FROM golang:1.24.0 AS builder
1616
1717WORKDIR /build
1818
You can’t perform that action at this time.
0 commit comments