1
1
name : compatibility_test
2
-
2
+ run-name : Compatibility Test [${{ (github.event.inputs.source == '' || github.event.inputs.source == github.event.inputs.target) && format('Upload {0}', github.event.inputs.target) || format('{0} -> {1}', github.event.inputs.source, github.event.inputs.target) }}]
3
3
on :
4
4
workflow_dispatch :
5
5
inputs :
@@ -31,21 +31,21 @@ jobs:
31
31
32
32
pip install --upgrade pip
33
33
34
- # FIXME: remove this line after pyyaml community fixed install bug
35
- pip install pyyaml==5.3.1
36
-
37
34
# FIXME(yokofly): docker 7.0.0 introduce a breaking change
38
35
# https://github.com/docker/docker-py/issues/3194
39
36
pip install docker==6.1.3
40
37
41
- pip install -r helpers /requirements.txt
38
+ pip install -r test_compatibility /requirements.txt
42
39
43
- bash test_compatibility/prepare_data.sh
44
- bash test_compatibility/basic_tests.sh
40
+ timeout --foreground 10m bash test_compatibility/prepare_data.sh
41
+ timeout --foreground 10m bash test_compatibility/basic_tests.sh
45
42
46
43
cd $GITHUB_WORKSPACE
47
44
tar -zcvf $PROTON_VERSION.tar.gz data
48
45
aws s3 cp --no-progress $PROTON_VERSION.tar.gz s3://tp-internal/proton/compatibility/oss/$ARCH/
46
+
47
+ cd $GITHUB_WORKSPACE/tests/stream
48
+ timeout --foreground 10m bash test_compatibility/extra_tests.sh
49
49
steps :
50
50
- name : display command
51
51
run : |
@@ -75,18 +75,15 @@ jobs:
75
75
source env/bin/activate
76
76
77
77
pip install --upgrade pip
78
-
79
- # FIXME: remove this line after pyyaml community fixed install bug
80
- pip install pyyaml==5.3.1
81
-
78
+
82
79
# FIXME(yokofly): docker 7.0.0 introduce a breaking change
83
80
# https://github.com/docker/docker-py/issues/3194
84
81
pip install docker==6.1.3
82
+
83
+ pip install -r test_compatibility/requirements.txt
85
84
86
- pip install -r helpers/requirements.txt
87
-
88
- bash test_compatibility/basic_tests.sh
89
- bash test_compatibility/extra_tests.sh
85
+ timeout --foreground 10m bash test_compatibility/basic_tests.sh
86
+ timeout --foreground 10m bash test_compatibility/extra_tests.sh
90
87
steps :
91
88
- name : display command
92
89
run : |
@@ -182,4 +179,4 @@ jobs:
182
179
DOCKERHUB_TOKEN : ${{ secrets.DOCKERHUB_TOKEN }}
183
180
TIMEPLUS_ADDRESS : ${{ secrets.TIMEPLUS_ADDRESS }}
184
181
TIMEPLUS_API_KEY : ${{ secrets.TIMEPLUS_API_KEY }}
185
- TIMEPLUS_WORKSPACE : ${{ secrets.TIMEPLUS_WORKSPACE }}
182
+ TIMEPLUS_WORKSPACE : ${{ secrets.TIMEPLUS_WORKSPACE }}
0 commit comments