CI: fix ui report directory (#32991)

fix report artifact name
pull/32988/head
signed-long 10 months ago committed by GitHub
parent cbee4421da
commit c759fe9002
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 6
      .github/workflows/selfdrive_tests.yaml

@ -335,8 +335,8 @@ jobs:
- name: Upload Test Report - name: Upload Test Report
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:
name: report-${{ inputs.run_number }} name: report-${{ inputs.run_number || '1' }}
path: selfdrive/ui/tests/test_ui/report_${{ inputs.run_number }} path: selfdrive/ui/tests/test_ui/report_${{ inputs.run_number || '1' }}
- name: Get changes to selfdrive/ui - name: Get changes to selfdrive/ui
if: ${{ github.event_name == 'pull_request' }} if: ${{ github.event_name == 'pull_request' }}
id: changed-files id: changed-files
@ -359,7 +359,7 @@ jobs:
git checkout -b openpilot/pr-${{ github.event.pull_request.number }} git checkout -b openpilot/pr-${{ github.event.pull_request.number }}
git config user.name "GitHub Actions Bot" git config user.name "GitHub Actions Bot"
git config user.email "<>" git config user.email "<>"
sudo mv ${{ github.workspace }}/selfdrive/ui/tests/test_ui/report/screenshots/* . sudo mv ${{ github.workspace }}/selfdrive/ui/tests/test_ui/report_1/screenshots/* .
git add . git add .
git commit -m "screenshots for PR #${{ github.event.pull_request.number }}" git commit -m "screenshots for PR #${{ github.event.pull_request.number }}"
git push origin openpilot/pr-${{ github.event.pull_request.number }} --force git push origin openpilot/pr-${{ github.event.pull_request.number }} --force

Loading…
Cancel
Save