Skip to content

Commit b327746

Browse files
committed
run the e2e testing via github actions
1 parent 33f448c commit b327746

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

.github/workflows/build.yaml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,16 @@ jobs:
3333
BuildImage:
3434
runs-on: ubuntu-20.04
3535
steps:
36-
- name: Set up Go
37-
uses: actions/setup-go@v3
38-
with:
39-
go-version: 1.20.x
4036
- uses: actions/[email protected]
4137
- name: Image
4238
run: make build-image
39+
40+
RunE2E:
41+
runs-on: ubuntu-20.04
42+
steps:
43+
- uses: actions/[email protected]
44+
- name: Run e2e
45+
run: |
46+
sudo curl -L https://github.com/docker/compose/releases/download/v2.23.0/docker-compose-linux-x86_64 -o /usr/local/bin/docker-compose
47+
sudo chmod u+x /usr/local/bin/docker-compose
48+
make run-e2e

Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,5 @@ hd:
1313
init-env: hd
1414
hd i cli/cli
1515
gh extension install linuxsuren/gh-dev
16+
run-e2e:
17+
cd e2e && ./start.sh

0 commit comments

Comments
 (0)