We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9895286 commit 6acb184Copy full SHA for 6acb184
.github/workflows/python-local-test.yml
@@ -71,10 +71,10 @@ jobs:
71
which scanoss-py
72
scanoss-py version
73
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"
+ scanoss-py wfp -H tests > fingers.wfp
+ wfp_count=$(cat fingers.wfp | grep 'file=' | wc -l)
+ echo "WFP Count: $wfp_count"
+ if [[ $wfp_count -lt 1 ]]; then
+ echo "Error: WFP test did not produce any results. Failing"
79
exit 1
80
fi
0 commit comments