File tree Expand file tree Collapse file tree 4 files changed +211
-149
lines changed Expand file tree Collapse file tree 4 files changed +211
-149
lines changed Original file line number Diff line number Diff line change 66 - develop
77
88jobs :
9- integ -tests :
9+ go -tests :
1010 runs-on : ubuntu-latest
1111 environment :
12- name : prod
12+ name : integ-tests
13+ steps :
14+ - uses : actions/checkout@v4
15+ - name : run go tests
16+ run : make tests-with-docker
17+ integ-tests-x86 :
18+ runs-on : ubuntu-latest
19+ environment :
20+ name : integ-tests
21+ steps :
22+ - uses : actions/checkout@v4
23+ - uses : actions/setup-python@v5
24+ with :
25+ python-version : ' 3.11'
26+ - name : run integration tests
27+ run : make integ-tests-with-docker-x86-64
28+ integ-tests-arm64 :
29+ runs-on : ubuntu-latest
30+ environment :
31+ name : integ-tests
32+ steps :
33+ - uses : actions/checkout@v4
34+ - uses : actions/setup-python@v5
35+ with :
36+ python-version : ' 3.11'
37+ - name : run integration tests
38+ run : make integ-tests-with-docker-arm64
39+ integ-tests-old :
40+ runs-on : ubuntu-latest
41+ environment :
42+ name : integ-tests
1343 steps :
1444 - uses : actions/checkout@v4
1545 - uses : actions/setup-python@v5
1646 with :
1747 python-version : ' 3.11'
18- - name : allows us to build arm64 images
19- run : docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
2048 - name : run integration tests
21- run : make integ-tests-with-docker
49+ run : make integ-tests-with-docker-old
Original file line number Diff line number Diff line change @@ -39,9 +39,35 @@ integ-tests-and-compile: tests
3939integ-tests-with-docker : tests-with-docker
4040 make compile-with-docker-all
4141 make integ-tests
42-
43- integ-tests :
42+
43+ prep-python :
4444 python3 -m venv .venv
4545 .venv/bin/pip install --upgrade pip
4646 .venv/bin/pip install requests parameterized
47+
48+ exec-python-e2e-test :
4749 .venv/bin/python3 test/integration/local_lambda/test_end_to_end.py
50+
51+ integ-tests :
52+ make prep-python
53+ docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
54+ make TEST_ARCH=x86_64 TEST_PORT=8002 exec-python-e2e-test
55+ make TEST_ARCH=arm64 TEST_PORT=9002 exec-python-e2e-test
56+ make TEST_ARCH=" " TEST_PORT=9052 exec-python-e2e-test
57+
58+ integ-tests-with-docker-x86-64 :
59+ make ARCH=x86_64 compile-with-docker
60+ make prep-python
61+ make TEST_ARCH=x86_64 TEST_PORT=8002 exec-python-e2e-test
62+
63+ integ-tests-with-docker-arm64 :
64+ make ARCH=arm64 compile-with-docker
65+ make prep-python
66+ docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
67+ make TEST_ARCH=arm64 TEST_PORT=9002 exec-python-e2e-test
68+
69+ integ-tests-with-docker-old :
70+ make ARCH=old compile-with-docker
71+ make prep-python
72+ make TEST_ARCH=" " TEST_PORT=9052 exec-python-e2e-test
73+
You can’t perform that action at this time.
0 commit comments