File tree Expand file tree Collapse file tree 2 files changed +27
-1
lines changed
tests/integration_tests/build Expand file tree Collapse file tree 2 files changed +27
-1
lines changed Original file line number Diff line number Diff line change 6868 for step in kani_grp ["steps" ]:
6969 step ["label" ] = "🔍 Kani"
7070
71+ if any (x .parent .name == "hiding_ci" for x in changed_files ):
72+ pipeline .build_group_per_arch (
73+ "🕵️ Build Secret Hiding Kernel" ,
74+ pipeline .devtool_test (
75+ pytest_opts = "integration_tests/build/test_hiding_kernel.py" ,
76+ ),
77+ depends_on_build = False ,
78+ )
79+
7180if run_all_tests (changed_files ):
7281 pipeline .build_group (
7382 "📦 Build" ,
74- pipeline .devtool_test (pytest_opts = "integration_tests/build/" ),
83+ pipeline .devtool_test (pytest_opts = "-m nonci integration_tests/build/" ),
7584 depends_on_build = False ,
7685 )
7786
Original file line number Diff line number Diff line change 1+ # Copyright 2025 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+ # SPDX-License-Identifier: Apache-2.0
3+ """A test which checks that the secret hiding enable kernel builds successfully."""
4+
5+ import pytest
6+
7+ from framework import utils
8+
9+
10+ @pytest .mark .nonci
11+ def test_build_hiding_kernel ():
12+ """
13+ In the test we will run our kernel build script to check it succeeds an builds the hidden kernel
14+ """
15+ utils .check_output (
16+ "../resources/hiding_ci/build_and_install_kernel.sh --no-install --tidy"
17+ )
You can’t perform that action at this time.
0 commit comments