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 +```