124906d084
- Introduced multiple guides for workflows including Evidence Pack Validation, Incident Response, Model Validation, Performance & HIL, Release Signing, SBOM Validation, Secret Scanning, and Supply Chain Attestation. - Created dynamic badges for each workflow to reflect their status and compliance. - Implemented a checklist for validating CI/CD workflows and evidence packs. - Developed scripts for building firmware, testing, collecting evidence, and generating audit reports. - Added tools for generating community, documentation, quality, and security badges based on various reports. - Established endpoints for dynamic badges to be integrated into documentation and README files. - Enhanced the overall structure and traceability of CI/CD processes with evidence packs and automated checks.
21 lines
532 B
Python
21 lines
532 B
Python
import sys
|
|
|
|
def test_firmware(target):
|
|
# Exemple minimal : tests pour chaque cible
|
|
if target == 'esp':
|
|
print('Tests ESP...')
|
|
# Appel tests unitaires ESP
|
|
elif target == 'stm':
|
|
print('Tests STM...')
|
|
# Appel tests unitaires STM
|
|
elif target == 'linux':
|
|
print('Tests Linux...')
|
|
# Appel tests unitaires Linux
|
|
else:
|
|
print('Cible inconnue')
|
|
sys.exit(1)
|
|
print(f'Tests terminés pour {target}')
|
|
|
|
if __name__ == '__main__':
|
|
test_firmware(sys.argv[1])
|