CI: remove redundant apt installs (#29617)

* CI: remove redundant apt installs

* split build and test

* faster build
pull/29619/head
Adeeb Shihadeh 2 years ago committed by GitHub
parent e863828051
commit 36cc41f619
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 11
      .github/workflows/tools_tests.yaml

@ -35,14 +35,13 @@ jobs:
submodules: true
- name: Build Docker image
run: eval "$BUILD"
- name: Unit test
- name: Build openpilot
timeout-minutes: 5
run: ${{ env.RUN }} "scons -j$(nproc) --directory=/tmp/openpilot/cereal --minimal"
- name: Test PlotJuggler
timeout-minutes: 2
run: |
${{ env.RUN }} "scons -j$(nproc) --directory=/tmp/openpilot cereal && \
apt-get update && \
apt-get install -y libdw-dev libqt5svg5-dev libqt5x11extras5-dev && \
cd /tmp/openpilot/tools/plotjuggler && \
./test_plotjuggler.py"
${{ env.RUN }} "pytest tools/plotjuggler/"
simulator:
name: simulator

Loading…
Cancel
Save