mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-02-19 14:43:57 +08:00
Fix master-ci dirty working tree + CI test (#25087)
* check * test for dirty working tree * swap order * fix diff
This commit is contained in:
7
.github/workflows/selfdrive_tests.yaml
vendored
7
.github/workflows/selfdrive_tests.yaml
vendored
@@ -59,11 +59,14 @@ jobs:
|
||||
TARGET_DIR=$STRIPPED_DIR release/build_devel.sh
|
||||
cp Dockerfile.openpilot_base $STRIPPED_DIR
|
||||
- name: Build Docker image
|
||||
run: eval "$BUILD"
|
||||
run: |
|
||||
eval "$BUILD"
|
||||
rm $STRIPPED_DIR/Dockerfile.openpilot_base
|
||||
- name: Build openpilot and run checks
|
||||
run: |
|
||||
cd $STRIPPED_DIR
|
||||
${{ env.RUN }} "CI=1 python selfdrive/manager/build.py && \
|
||||
release/check-dirty.sh && \
|
||||
python -m unittest discover selfdrive/car"
|
||||
|
||||
build_all:
|
||||
@@ -89,7 +92,7 @@ jobs:
|
||||
- name: Build Docker image
|
||||
run: eval "$BUILD"
|
||||
- name: Build openpilot with all flags
|
||||
run: ${{ env.RUN }} "scons -j$(nproc) --extras --test"
|
||||
run: ${{ env.RUN }} "scons -j$(nproc) --extras --test && release/check-dirty.sh"
|
||||
- name: Cleanup scons cache
|
||||
run: |
|
||||
${{ env.RUN }} "scons -j$(nproc) --extras --test && \
|
||||
|
||||
Reference in New Issue
Block a user