mirror of
https://github.com/raspberrypi/rpi-eeprom.git
synced 2026-01-20 21:13:36 +08:00
test: Add a README
This commit is contained in:
14
.github/workflows/test.yml
vendored
14
.github/workflows/test.yml
vendored
@@ -10,6 +10,20 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- 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
|
- name: Run EEPROM Config Tests
|
||||||
run: |
|
run: |
|
||||||
cd test
|
cd test
|
||||||
|
|||||||
14
test/README.md
Normal file
14
test/README.md
Normal file
@@ -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
|
||||||
|
```
|
||||||
Reference in New Issue
Block a user