20 Commits

Author SHA1 Message Date
Adeeb Shihadeh
04c72ca432 test.sh: ensure uv.lock is consistent with pyproject (#3000) 2025-12-29 16:38:24 -08:00
Shane Smiskol
76cd9c2e68 Revert "CI: move ubsan into test.sh matrix" (#2449)
Revert "CI: move ubsan into test.sh matrix (#2305)"

This reverts commit 90bad1f04c.
2025-07-09 16:00:02 -07:00
Adeeb Shihadeh
90bad1f04c CI: move ubsan into test.sh matrix (#2305)
* CI: move ubsan into test.sh matrix

* try this
2025-05-25 13:22:10 -07:00
Adeeb Shihadeh
0676642f40 try moving pytest to lefthook (#2279)
* try moving pytest to lefthook

* cleanup
2025-05-20 12:44:24 -07:00
Adeeb Shihadeh
58f4b86121 pre-commit -> lefthook (#2278)
* pre-commit -> lefthook

* fix cpplint

* cleanupg
2025-05-20 12:01:27 -07:00
Adeeb Shihadeh
de58e1910c move MISRA check into test.sh (#2276)
* move MISRA check into test.sh

* ignore those too
2025-05-20 11:12:14 -07:00
Adeeb Shihadeh
2996f960e7 run safety tests in test.sh (#2275)
* run safety tests in test.sh

* looks like this is just macos-latest now?

* namespace
2025-05-20 10:36:29 -07:00
Adeeb Shihadeh
57be4f17cd enable pre-commit (#2236)
* fix codespell

* disable for now
2025-05-14 08:58:57 -07:00
Adeeb Shihadeh
efdcb38693 add ty (#2235)
one day...
2025-05-14 08:41:57 -07:00
Shane Smiskol
6f83fdf9b9 Move car safety modes to opendbc (#1713)
* move safety tests

* move libsafety

* move safety

* rename imports

* copy over needed (minimalized) board and driver code

* dont test safety here

* add new job for safety tests

fix

* try fix

* ubsan

* ?

?

* missing cffi

* should be final fix

* mac fix

* no mac

* use setup script

* no cd

* this is the correct way to do it

* add misra

* misra fixes

* run

* setup misra

* add missing files

* is this used?

* add that

* Revert "is this used?"

This reverts commit 2f34762dfa65821e1ee398675bf62d1a256ebec8.

* need this

* misra mutation test

* fix

* no race conditions

* test

* cache cppcheck

fix

* setup

* good timeouts

* mutation test

* fix

* no

* Revert "no"

This reverts commit 39e10a045a4a5411a64de791ae463461f8a5f37b.

* already tested

* move Safety Model readme section to opendbc

* fix

* fix

* disable mutation tests for merge

* namespace

* test no cache

* 1m

1m
2025-02-19 17:19:31 -08:00
Shane Smiskol
589ed90181 uv environment setup script (#1746)
setup script
2025-02-18 20:52:30 -08:00
Shane Smiskol
37a97041a9 uv run is not needed (#1745)
* uv run is not needed

* Update test.sh
2025-02-18 20:49:47 -08:00
Adeeb Shihadeh
fd8471dc0d remove test_generator; doesn't make sense now that we're building it in SCons 2024-12-15 10:14:30 -08:00
Adeeb Shihadeh
192f54d05f CI: just use ./test.sh (#1582)
* CI: just use ./test.sh

* make sure this works

* how much of this is pre-commit

* should be good

* rm that
2024-12-14 23:35:26 -08:00
Shane Smiskol
43aa7aa7e7 spacing 2024-12-12 13:40:56 -08:00
royjr
2bc227e22e check if uv is installed (#1565)
* check if uv is installed

* Update test.sh

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2024-12-11 14:26:23 -08:00
Louis Velez
e57375f1e2 CI: fix macOS test running (#1516)
* CI: fixes MacOS test running

* CI: adds coreutils for nproc

* CI: fixes based on PR

* cleanup

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2024-11-21 14:16:17 -08:00
Adeeb Shihadeh
27a3881b50 fix double in 2024-10-01 16:12:06 -07:00
Adeeb Shihadeh
3b468db557 source venv in test.sh 2024-10-01 16:11:07 -07:00
Adeeb Shihadeh
5d6c1d83e2 add test.sh 2024-10-01 15:44:54 -07:00