File tree Expand file tree Collapse file tree 1 file changed +15
-1
lines changed
Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change 3636 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
3737
3838 - name : Run the integration test suite
39- run : make testint
39+ run : |
40+ timestamp=$(date +'%Y%m%d%H%M')
41+ report_filename="${timestamp}_cli_test_report.xml"
42+ status=0
43+ if ! pytest -m tests/integration --disable-warnings --junitxml="${report_filename}"; then
44+ echo "Tests failed, but attempting to upload results anyway"
45+ fi
4046 env :
4147 LINODE_CLI_TOKEN : ${{ secrets.LINODE_TOKEN }}
48+
49+ - name : Upload test results
50+ run : |
51+ linode-cli obj --cluster us-southeast-1 put "${report_filename}" dx-test-results
52+ env :
53+ LINODE_CLI_TOKEN : ${{ secrets.SHARED_DX_TOKEN }}
54+ LINODE_CLI_OBJ_ACCESS_KEY : ${{ secrets.LINODE_CLI_OBJ_ACCESS_KEY }}
55+ LINODE_CLI_OBJ_SECRET_KEY : ${{ secrets.LINODE_CLI_OBJ_SECRET_KEY }}
You can’t perform that action at this time.
0 commit comments