Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 16 additions & 2 deletions .github/workflows/west-commands.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,24 @@ jobs:
- name: Install requirements
shell: bash
run: |
pip3 install -r nrf/scripts/requirements-west-ncs-sbom.txt
pip3 install -r nrf/scripts/requirements-extra.txt
pip3 install -r nrf/scripts/requirements-fixed.txt
- name: Smoke test ncs-loot & ncs-compare
shell: bash
run: |
west ncs-loot -h
west ncs-compare -h
- name: Smoke test ncs-sbom
# macOS is not supported by scancode-toolkit(used in ncs-sbom)
if: ${{ matrix.os == 'ubuntu-24.04' || matrix.os == 'windows-latest' }}
shell: bash
run: |
west ncs-sbom -h

# create a dummy file
echo "/* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause */" > test_file.c
scancode --version
# run ncs-sbom with scancode-toolkit
west ncs-sbom \
--input-files test_file.c \
--license-detectors scancode-toolkit \
--output-html scancode_report.html
2 changes: 1 addition & 1 deletion scripts/requirements-build.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cbor2>=5.4.2.post1
clang-format
click==8.1.3
click>=8.2.0
ecdsa
grpcio-tools
construct>=2.10.70
Expand Down
2 changes: 1 addition & 1 deletion scripts/requirements-ci.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
aenum
bitarray
chardet
gitlint==0.19.1
gitlint-core==0.19.1
GitPython
jsonschema
milksnake
Expand Down
Loading