if we have token access

pull/24414/head
Shane Smiskol 3 years ago
parent 3f42f0054d
commit dbc7cf60ac
  1. 2
      .github/workflows/selfdrive_tests.yaml

@ -317,7 +317,7 @@ jobs:
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 - name: Upload reference logs
if: ${{ failure() && github.event_name == 'pull_request' && github.repository == 'commaai/openpilot' && (github.event.issue.author_association == 'OWNER' || github.event.issue.author_association == 'MEMBER') }} if: ${{ failure() && github.event_name == 'pull_request' && github.repository == 'commaai/openpilot' && secrets.AZURE_COMMADATACI_OPENPILOTCI_TOKEN != '' }}
run: | run: |
${{ env.RUN }} "scons -j$(nproc) && \ ${{ env.RUN }} "scons -j$(nproc) && \
CI=1 AZURE_TOKEN='${{ secrets.AZURE_COMMADATACI_OPENPILOTCI_TOKEN }}' python selfdrive/test/process_replay/update_refs.py" CI=1 AZURE_TOKEN='${{ secrets.AZURE_COMMADATACI_OPENPILOTCI_TOKEN }}' python selfdrive/test/process_replay/update_refs.py"

Loading…
Cancel
Save