@@ -3,6 +3,14 @@ name: Integration Tests
33on :
44 workflow_dispatch :
55 inputs :
6+ run_aclp_logs_stream_tests :
7+ description : ' Set this parameter to "true" to run ACLP logs stream related test cases'
8+ required : false
9+ default : ' false'
10+ type : choice
11+ options :
12+ - ' true'
13+ - ' false'
614 run_db_fork_tests :
715 description : ' Set this parameter to "true" to run fork database related test cases'
816 required : false
@@ -65,21 +73,21 @@ jobs:
6573 steps :
6674 - name : Clone Repository with SHA
6775 if : ${{ inputs.sha != '' }}
68- uses : actions/checkout@v6
76+ uses : actions/checkout@v7
6977 with :
7078 fetch-depth : 0
7179 submodules : ' recursive'
7280 ref : ${{ inputs.sha }}
7381
7482 - name : Clone Repository without SHA
7583 if : ${{ inputs.sha == '' }}
76- uses : actions/checkout@v6
84+ uses : actions/checkout@v7
7785 with :
7886 fetch-depth : 0
7987 submodules : ' recursive'
8088
8189 - name : Setup Python
82- uses : actions/setup-python@v6
90+ uses : actions/setup-python@v7
8391 with :
8492 python-version : ${{ inputs.run-eol-python-version == 'true' && env.EOL_PYTHON_VERSION || inputs.python-version || env.DEFAULT_PYTHON_VERSION }}
8593
@@ -99,9 +107,13 @@ jobs:
99107 run : |
100108 timestamp=$(date +'%Y%m%d%H%M')
101109 report_filename="${timestamp}_sdk_test_report.xml"
102- make test-int RUN_DB_FORK_TESTS=${{ github.event.inputs.run_db_fork_tests }} RUN_DB_TESTS=${{ github.event.inputs.run_db_tests }} TEST_SUITE="${{ github.event.inputs.test_suite }} " TEST_ARGS="--junitxml=${report_filename}"
110+ make test-int RUN_DB_FORK_TESTS="$RUN_DB_FORK_TESTS" RUN_DB_TESTS="$RUN_DB_TESTS" RUN_ACLP_LOGS_STREAM_TESTS="$RUN_ACLP_LOGS_STREAM_TESTS" TEST_SUITE="$TEST_SUITE " TEST_ARGS="--junitxml=${report_filename}"
103111 env :
104112 LINODE_TOKEN : ${{ env.LINODE_TOKEN }}
113+ RUN_DB_FORK_TESTS : ${{ github.event.inputs.run_db_fork_tests }}
114+ RUN_DB_TESTS : ${{ github.event.inputs.run_db_tests }}
115+ RUN_ACLP_LOGS_STREAM_TESTS : ${{ github.event.inputs.run_aclp_logs_stream_tests }}
116+ TEST_SUITE : ${{ github.event.inputs.test_suite }}
105117
106118 - name : Upload Test Report as Artifact
107119 if : always()
@@ -119,7 +131,7 @@ jobs:
119131
120132 steps :
121133 - name : Checkout code
122- uses : actions/checkout@v6
134+ uses : actions/checkout@v7
123135 with :
124136 fetch-depth : 0
125137 submodules : ' recursive'
@@ -149,7 +161,7 @@ jobs:
149161
150162 steps :
151163 - name : Set up Python
152- uses : actions/setup-python@v6
164+ uses : actions/setup-python@v7
153165 with :
154166 python-version : ' 3.x'
155167
@@ -187,7 +199,7 @@ jobs:
187199
188200 steps :
189201 - name : Checkout code
190- uses : actions/checkout@v6
202+ uses : actions/checkout@v7
191203 with :
192204 fetch-depth : 0
193205 submodules : ' recursive'
@@ -198,7 +210,7 @@ jobs:
198210 name : test-report-file
199211
200212 - name : Set up Python
201- uses : actions/setup-python@v6
213+ uses : actions/setup-python@v7
202214 with :
203215 python-version : ' 3.x'
204216
@@ -241,7 +253,7 @@ jobs:
241253 steps :
242254 - name : Notify Slack
243255 id : main_message
244- uses : slackapi/slack-github-action@v3
256+ uses : slackapi/slack-github-action@v4
245257 with :
246258 method : chat.postMessage
247259 token : ${{ secrets.SLACK_BOT_TOKEN }}
@@ -273,7 +285,7 @@ jobs:
273285
274286 - name : Test summary thread
275287 if : success()
276- uses : slackapi/slack-github-action@v3
288+ uses : slackapi/slack-github-action@v4
277289 with :
278290 method : chat.postMessage
279291 token : ${{ secrets.SLACK_BOT_TOKEN }}
0 commit comments