@@ -150,16 +150,15 @@ jobs:
150150 run : |
151151 pip install \
152152 pytest pytest-asyncio pytest-timeout \
153- cantools influxdb-client \
154- websockets redis requests \
155- "slicks>=0.2.0"
153+ cantools \
154+ websockets redis requests
156155
157156 - name : Run unit tests
158157 working-directory : ./universal-telemetry-software
159158 run : |
160159 python -m pytest \
161160 tests/test_leds.py \
162- tests/test_influx_bridge .py \
161+ tests/test_helpers .py \
163162 tests/test_car_mode.py \
164163 tests/test_dbc_consistency.py \
165164 tests/test_ws_relay.py \
@@ -193,7 +192,6 @@ jobs:
193192 # ── Pull heavy images in parallel ────────────────────────────────────
194193 - name : Pull base images
195194 run : |
196- docker pull influxdb:3.5.0-core &
197195 docker pull redis:8.2 &
198196 wait
199197 echo "✓ Images pulled"
@@ -207,10 +205,9 @@ jobs:
207205 run : |
208206 pip install \
209207 pytest pytest-asyncio pytest-timeout \
210- cantools influxdb-client \
208+ cantools \
211209 websockets redis requests aiohttp \
212- playwright \
213- "slicks>=0.2.0"
210+ playwright
214211
215212 - name : Install Playwright browsers
216213 run : playwright install chromium --with-deps
@@ -220,8 +217,9 @@ jobs:
220217 env :
221218 GIT_HASH : ${{ github.sha }}
222219 run : |
220+ docker compose -f deploy/docker-compose.test.yml down -v --remove-orphans || true
223221 docker compose -f deploy/docker-compose.test.yml up -d --build
224- echo "Waiting for all services (InfluxDB3 needs ~15s) ..."
222+ echo "Waiting for all services to become ready ..."
225223 sleep 20
226224
227225 - name : Check container health
@@ -319,9 +317,8 @@ jobs:
319317 run : |
320318 pip install \
321319 pytest pytest-asyncio pytest-timeout \
322- cantools influxdb-client \
323- websockets redis requests \
324- "slicks>=0.2.0"
320+ cantools \
321+ websockets redis requests
325322
326323 - name : Start vCAN test stack
327324 working-directory : ./universal-telemetry-software
@@ -653,7 +650,9 @@ jobs:
653650 deploy-pecan-internal-cloudflare :
654651 needs : [detect-changes, unit-tests, integration, vcan]
655652 runs-on : ubuntu-latest
656- if : github.ref == 'refs/heads/main' || github.ref == 'refs/heads/dev'
653+ if : |
654+ (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/dev') &&
655+ needs.detect-changes.outputs.pecan == 'true'
657656 permissions :
658657 contents : read
659658 deployments : write
0 commit comments