From 9c851fa9f9e35827d54e2f082784e246096a9159 Mon Sep 17 00:00:00 2001 From: Adeeb Shihadeh Date: Sun, 2 Apr 2023 10:41:42 -0700 Subject: [PATCH] CI: set PYTHONWARNINGS=error (#806) --- .github/workflows/tests.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 7842b8d005..512fc24073 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -3,11 +3,12 @@ name: tests on: [push, pull_request] env: - RUN: docker run --shm-size 1G --rm opendbc /bin/sh -c + RUN: docker run -e PYTHONWARNINGS=error --shm-size 1G --rm opendbc /bin/sh -c BUILD: | docker pull $(grep -ioP '(?<=^from)\s+\S+' Dockerfile) || true docker pull ghcr.io/commaai/opendbc:latest || true docker build --cache-from ghcr.io/commaai/opendbc:latest -t opendbc -f Dockerfile . + PYTHONWARNINGS: error jobs: test: