File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -40,15 +40,16 @@ jobs:
4040 timestamp=$(date +'%Y%m%d%H%M')
4141 report_filename="${timestamp}_cli_test_report.xml"
4242 status=0
43- if ! pytest -m tests/integration --disable-warnings --junitxml="${report_filename}"; then
43+ if ! pytest tests/integration --disable-warnings --junitxml="${report_filename}"; then
4444 echo "Tests failed, but attempting to upload results anyway"
4545 fi
4646 env :
4747 LINODE_CLI_TOKEN : ${{ secrets.LINODE_TOKEN }}
4848
4949 - name : Upload test results
5050 run : |
51- linode-cli obj --cluster us-southeast-1 put "${report_filename}" dx-test-results
51+ filename=$(ls | grep -E '^[0-9]{12}_cli_test_report\.xml$')
52+ linode-cli obj --cluster us-southeast-1 put "${filename}" dx-test-results
5253 env :
5354 LINODE_CLI_TOKEN : ${{ secrets.SHARED_DX_TOKEN }}
5455 LINODE_CLI_OBJ_ACCESS_KEY : ${{ secrets.LINODE_CLI_OBJ_ACCESS_KEY }}
You can’t perform that action at this time.
0 commit comments