From 816bf7c594a4c117ab2815f443ad3d535be475a6 Mon Sep 17 00:00:00 2001 From: Tim Gover Date: Tue, 8 Apr 2025 09:40:41 +0100 Subject: [PATCH] test: Add a README --- .github/workflows/test.yml | 14 ++++++++++++++ test/README.md | 14 ++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 test/README.md diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f9f4b47..6044c71 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -10,6 +10,20 @@ jobs: steps: - uses: actions/checkout@v4 + - name: Set up Python + uses: actions/setup-python@v4 + with: + python-version: '3.x' + + - name: Create and activate virtual environment + run: | + python -m venv venv + source venv/bin/activate + + - name: Install dependencies + run: | + pip install pycryptodomex + - name: Run EEPROM Config Tests run: | cd test diff --git a/test/README.md b/test/README.md new file mode 100644 index 0000000..f16e70d --- /dev/null +++ b/test/README.md @@ -0,0 +1,14 @@ +# rpi-eeprom - unit tests + +## test-rpi-eeprom-config +Unit test for rpi-eeprom-config which verifies: + +* rpi-eeprom-config is compatible with all EEPROM binaries +* unit tests for modifying the boot.conf file +* simple code signing test + +To run on Linux: +``` +cd test +./test-rpi-eeprom-config +```