mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-08-06 00:35:44 +08:00
process replay CI: print diff after test (#24513)
* make sure we print the diff before updating refs * cause fail * when only uploading no need to print success status or update diff don't print succeed/fail when only uploading * Revert "cause fail" This reverts commit 6e5db1a0ac6ccd0e6a0885d72d79d75c610bdc1f. * Revert "when only uploading no need to print success status or update diff" This reverts commit d6727f30a109fd7330746005aa7b228c9eca3e79.
This commit is contained in:
@@ -317,13 +317,6 @@ jobs:
|
|||||||
${{ env.RUN }} "scons -j$(nproc) && \
|
${{ env.RUN }} "scons -j$(nproc) && \
|
||||||
FILEREADER_CACHE=1 CI=1 coverage run selfdrive/test/process_replay/test_processes.py && \
|
FILEREADER_CACHE=1 CI=1 coverage run selfdrive/test/process_replay/test_processes.py && \
|
||||||
coverage xml"
|
coverage xml"
|
||||||
- name: Upload reference logs
|
|
||||||
if: ${{ failure() && github.event_name == 'pull_request' && github.repository == 'commaai/openpilot' && env.AZURE_TOKEN != '' }}
|
|
||||||
run: |
|
|
||||||
${{ env.RUN }} "scons -j$(nproc) && \
|
|
||||||
CI=1 AZURE_TOKEN='$AZURE_TOKEN' python selfdrive/test/process_replay/test_processes.py --upload-only"
|
|
||||||
- name: "Upload coverage to Codecov"
|
|
||||||
uses: codecov/codecov-action@v2
|
|
||||||
- name: Print diff
|
- name: Print diff
|
||||||
if: always()
|
if: always()
|
||||||
run: cat selfdrive/test/process_replay/diff.txt
|
run: cat selfdrive/test/process_replay/diff.txt
|
||||||
@@ -333,6 +326,13 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: process_replay_diff.txt
|
name: process_replay_diff.txt
|
||||||
path: selfdrive/test/process_replay/diff.txt
|
path: selfdrive/test/process_replay/diff.txt
|
||||||
|
- name: Upload reference logs
|
||||||
|
if: ${{ failure() && github.event_name == 'pull_request' && github.repository == 'commaai/openpilot' && env.AZURE_TOKEN != '' }}
|
||||||
|
run: |
|
||||||
|
${{ env.RUN }} "scons -j$(nproc) && \
|
||||||
|
CI=1 AZURE_TOKEN='$AZURE_TOKEN' python selfdrive/test/process_replay/test_processes.py --upload-only"
|
||||||
|
- name: "Upload coverage to Codecov"
|
||||||
|
uses: codecov/codecov-action@v2
|
||||||
|
|
||||||
#model_replay:
|
#model_replay:
|
||||||
# name: model replay
|
# name: model replay
|
||||||
|
|||||||
Reference in New Issue
Block a user