Skip to content

Commit

Permalink
CI: set PYTHONWARNINGS=error (#806)
Browse files Browse the repository at this point in the history
  • Loading branch information
adeebshihadeh authored Apr 2, 2023
1 parent f01929f commit 9c851fa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 9c851fa

Please sign in to comment.