Skip to content

Commit

Permalink
[python] add CI check for python-requirements.txt
Browse files Browse the repository at this point in the history
This adds a CI check to ensure the auto-generated `python-requirements.txt`
file checked-in does not get stale. This partially addresses lowRISC#19401.

Signed-off-by: Tim Trippel <ttrippel@google.com>
  • Loading branch information
timothytrippel committed Sep 7, 2023
1 parent a089753 commit 4a86631
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ci/scripts/check-generated.sh
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,10 @@ gen_hw_and_check_clean "tops" top || bad=1
gen_hw_and_check_clean "OTP memory map" otp-mmap || bad=1
gen_hw_and_check_clean "LC state" lc-state-enc || bad=1

gen_and_check_clean \
"python-requirements.txt" \
util/sh/scripts/gen-python-requirements.sh || bad=1

gen_and_check_clean \
"flash_ctrl code" \
hw/ip/flash_ctrl/util/flash_ctrl_gen.py || bad=1
Expand Down

0 comments on commit 4a86631

Please sign in to comment.