rdkcentral / BundleGen

A command-line tool to convert OCI Images into extended OCI Bundles for use with the Dobby container manager.
Apache License 2.0
5 stars 32 forks source link

[RDK-35868] - Add unit tests to BundleGen #78

Closed KaurSup closed 1 year ago

KaurSup commented 1 year ago

As part of this pull request, added the workflow changes for L1 unit testing

CLAassistant commented 1 year ago

CLA assistant check
All committers have signed the CLA.

TeknoVenus commented 1 year ago

Looks OK, but seems GitHub actions aren't enabled in this repo so workflow isn't running. Will try to get actions enabled in this repo

TeknoVenus commented 1 year ago

@KaurSup - workflow ran after merge, but failed with error


Traceback (most recent call last):
  File "/home/runner/work/BundleGen/BundleGen/Bundlegen/unit_tests/L1_testing/test_files/test_Bundleprocessor_ut.py", line 26, in <module>
    from bundlegen.core.bundle_processor import BundleProcessor
  File "/home/runner/work/BundleGen/BundleGen/Bundlegen/bundlegen/core/bundle_processor.py", line 22, in <module>
    from jsonschema import validate
ModuleNotFoundError: No module named 'jsonschema'
Error: Process completed with exit code 1.

Please submit a new PR to fix