Skip to content

Commit 6acb184

Browse files
committed
added WFP HPSM test
1 parent 9895286 commit 6acb184

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/python-local-test.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,10 @@ jobs:
7171
which scanoss-py
7272
scanoss-py version
7373
scanoss-py utils fast
74-
scanoss-py scan -H tests > results.json
75-
id_count=$(cat results.json | grep '"id":' | wc -l)
76-
echo "ID Count: $id_count"
77-
if [[ $id_count -lt 1 ]]; then
78-
echo "Error: Scan test did not produce any results. Failing"
74+
scanoss-py wfp -H tests > fingers.wfp
75+
wfp_count=$(cat fingers.wfp | grep 'file=' | wc -l)
76+
echo "WFP Count: $wfp_count"
77+
if [[ $wfp_count -lt 1 ]]; then
78+
echo "Error: WFP test did not produce any results. Failing"
7979
exit 1
8080
fi

0 commit comments

Comments
 (0)