From f4f66d2d1393e6e5b82b4b0c7a33b1f22e99f767 Mon Sep 17 00:00:00 2001 From: Italo Sampaio Date: Mon, 30 Sep 2024 17:56:15 -0300 Subject: [PATCH] Adds SGX HAL unit tests to the CI --- .github/workflows/run-tests.yml | 3 +++ firmware/coverage/gen-coverage | 1 + 2 files changed, 4 insertions(+) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index e9067073..8f617aed 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -28,6 +28,9 @@ jobs: - name: Firmware HAL's x86 unit tests run: firmware/src/hal/x86/test/run-all.sh + + - name: Firmware HAL's SGX unit tests + run: firmware/src/hal/sgx/test/run-all.sh - name: Firmware common lib unit tests run: firmware/src/common/test/run-all.sh diff --git a/firmware/coverage/gen-coverage b/firmware/coverage/gen-coverage index 210004a0..4fd85d76 100755 --- a/firmware/coverage/gen-coverage +++ b/firmware/coverage/gen-coverage @@ -15,6 +15,7 @@ if [[ $1 == "exec" ]]; then COVERAGE=y $REPOROOT/firmware/src/ledger/ui/test/run-all.sh COVERAGE=y $REPOROOT/firmware/src/ledger/signer/test/run-all.sh COVERAGE=y $REPOROOT/firmware/src/tcpsigner/test/run-all.sh + COVERAGE=y $REPOROOT/firmware/src/hal/sgx/test/run-all.sh # Run tcpsigner test suite pushd $REPOROOT/firmware/src/tcpsigner > /dev/null