Skip to content

Commit

Permalink
gha
Browse files Browse the repository at this point in the history
  • Loading branch information
cl0cks4fe committed Jun 13, 2024
1 parent b8888de commit 8f581e8
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/selfdrive_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,12 @@ jobs:
runs-on: ubuntu-latest
if: github.event_name == 'pull_request'
steps:
- uses: actions/checkout@v4
with:
submodules: true
ref: ${{ github.event.pull_request.base.ref }}
- run: git lfs pull
- uses: ./.github/workflows/setup-with-retry
- uses: actions/checkout@v4
with:
submodules: true
Expand All @@ -248,8 +254,9 @@ jobs:
run: |
cd current
${{ env.RUN }} "scons -j$(nproc)"
wget -O /tmp/CARS.md.old https://raw.githubusercontent.com/commaai/openpilot/master/docs/CARS.md
output=$(${{ env.RUN }} "python selfdrive/debug/print_docs_diff.py --old /tmp/CARS.md.old")
wget -O /tmp/openpilot_cache/CARS.md.old https://raw.githubusercontent.com/commaai/openpilot/master/docs/CARS.md
sudo chown -R $USER:$USER ${{ github.workspace }}
output=$(${{ env.RUN }} "python selfdrive/debug/print_docs_diff.py --old /tmp/openpilot_cache/CARS.md.old")
output="${output//$'\n'/'%0A'}"
echo "::set-output name=diff::$output"
- name: Find comment
Expand Down

0 comments on commit 8f581e8

Please sign in to comment.