File tree 4 files changed +211
-149
lines changed
4 files changed +211
-149
lines changed Original file line number Diff line number Diff line change 6
6
- develop
7
7
8
8
jobs :
9
- integ -tests :
9
+ go -tests :
10
10
runs-on : ubuntu-latest
11
11
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
13
43
steps :
14
44
- uses : actions/checkout@v4
15
45
- uses : actions/setup-python@v5
16
46
with :
17
47
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
20
48
- 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
39
39
integ-tests-with-docker : tests-with-docker
40
40
make compile-with-docker-all
41
41
make integ-tests
42
-
43
- integ-tests :
42
+
43
+ prep-python :
44
44
python3 -m venv .venv
45
45
.venv/bin/pip install --upgrade pip
46
46
.venv/bin/pip install requests parameterized
47
+
48
+ exec-python-e2e-test :
47
49
.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