Skip to content

Commit a1858c2

Browse files
fmoessbauerUrist-McGit
authored andcommitted
test: add smoke test for trace-path cmd
Signed-off-by: Felix Moessbauer <felix.moessbauer@siemens.com>
1 parent ddbab77 commit a1858c2

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/actions/pytest/action.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,14 @@ runs:
6060
export COVERAGE_FILE=".coverage.delta.cdx.${{ inputs.artifact-identifier }}"
6161
coverage run $(which debsbom) -v delta --validate tests/data/delta-base.cdx.json tests/data/delta-target.cdx.json
6262
63+
- name: smoke test trace-path
64+
shell: bash
65+
run: |
66+
export COVERAGE_FILE=".coverage.tracepath.spdx.${{ inputs.artifact-identifier }}"
67+
coverage run $(which debsbom) -v --json trace-path tests/data/delta-base.spdx.json 'pkg:deb/debian/bash@5.2.37-2%2Bb7?arch=amd64'
68+
export COVERAGE_FILE=".coverage.tracepath.cdx.${{ inputs.artifact-identifier }}"
69+
coverage run $(which debsbom) -v --json trace-path tests/data/delta-base.cdx.json 'pkg:deb/debian/bash@5.2.37-2%2Bb7?arch=amd64'
70+
6371
- name: upload smoke test SBOMs
6472
uses: actions/upload-artifact@v4
6573
with:

0 commit comments

Comments
 (0)