File tree Expand file tree Collapse file tree 4 files changed +35
-5
lines changed Expand file tree Collapse file tree 4 files changed +35
-5
lines changed Original file line number Diff line number Diff line change 1212 uses : actions/checkout@v4
1313 with :
1414 fetch-depth : 0
15- - name : Set up Go 1.22
15+ - name : Set up Go
1616 uses : actions/setup-go@v5
1717 with :
1818 go-version-file : go.mod
Original file line number Diff line number Diff line change 1- name : example-e2e-test
1+ name : example-e2e-tests
22on :
33 pull_request :
44 branches :
2222 shell : bash -ieo pipefail {0}
2323 run : PATH=$PATH:$HOME/go/bin ./examples/test.sh
2424
25- - name : run concurrent e2e
25+ - name : Run concurrent e2e tests
2626 run : PATH=$PATH:$HOME/go/bin ./scripts/concurrent_test.sh
2727
2828 macos :
4646 shell : bash -ieo pipefail {0}
4747 run : PATH=$PATH:$HOME/go/bin ./examples/test.sh
4848
49- - name : run concurrent e2e
49+ - name : Run concurrent e2e tests
5050 run : PATH=$PATH:$HOME/go/bin ./scripts/concurrent_test.sh
5151
5252 windows :
Original file line number Diff line number Diff line change 1+ name : image-e2e-tests
2+ on :
3+ pull_request :
4+ branches :
5+ - main
6+ push :
7+ branches :
8+ - main
9+
10+ jobs :
11+ build-and-test :
12+ name : Test
13+ runs-on : ubuntu-latest
14+ container :
15+ image : kcllang/kcl
16+ steps :
17+ - name : Check out code
18+ uses : actions/checkout@v4
19+ with :
20+ submodules : ' true'
21+ - name : Set up Go
22+ uses : actions/setup-go@v5
23+ with :
24+ go-version-file : go.mod
25+ - name : Install dependencies
26+ run : apt update && apt install make
27+ - name : Example tests
28+ run : ./examples/test.sh
29+ - name : Run concurrent e2e tests
30+ run : ./scripts/concurrent_test.sh
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ ARG TARGETARCH
2121COPY --from=build /src/bin/kcl /usr/local/bin/kcl
2222RUN /usr/local/bin/kcl
2323RUN cp -r /root/go/bin/* /usr/local/bin/
24- RUN apt-get update && apt-get install gcc git -y && rm -rf /var/lib/apt/lists/*
24+ RUN apt-get update && apt-get install make gcc git -y && rm -rf /var/lib/apt/lists/*
2525# The reason for doing this below is to prevent the
2626# container from not having write permissions.
2727ENV KCL_PKG_PATH=/tmp
You can’t perform that action at this time.
0 commit comments