mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-02-18 14:13:53 +08:00
ci: faster unit_tests (#33953)
* effect * test * no * yes * try some caching * try * 1 * try more 1 * just for fun * 50 maybe???? * all for nothing * fix * add back * back * timeout * clean * try * no * less
This commit is contained in:
4
.github/workflows/selfdrive_tests.yaml
vendored
4
.github/workflows/selfdrive_tests.yaml
vendored
@@ -174,10 +174,10 @@ jobs:
|
||||
timeout-minutes: ${{ ((steps.restore-scons-cache.outputs.cache-hit == 'true') && 10 || 30) }} # allow more time when we missed the scons cache
|
||||
run: ${{ env.RUN }} "scons -j$(nproc)"
|
||||
- name: Run unit tests
|
||||
timeout-minutes: 15
|
||||
timeout-minutes: 1
|
||||
run: |
|
||||
${{ env.RUN }} "source selfdrive/test/setup_xvfb.sh && \
|
||||
$PYTEST --timeout 60 -m 'not slow' && \
|
||||
MAX_EXAMPLES=1 $PYTEST --timeout 60 -m 'not slow' && \
|
||||
./selfdrive/ui/tests/create_test_translations.sh && \
|
||||
QT_QPA_PLATFORM=offscreen ./selfdrive/ui/tests/test_translations && \
|
||||
pytest ./selfdrive/ui/tests/test_translations.py"
|
||||
|
||||
Reference in New Issue
Block a user