Skip to content

Commit cd4c983

Browse files
authored
Merge pull request #161 from ChayanDass/test
Refactor tests folder and increase test coverage Reviewed-by: [email protected] Tested-by: [email protected]
2 parents e15319a + 862c8ee commit cd4c983

File tree

9 files changed

+1177
-564
lines changed

9 files changed

+1177
-564
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,5 +49,10 @@ jobs:
4949
- name: Install dependencies
5050
run: go mod download
5151

52+
- name: Fetch latest licenseRef.json from Fossology
53+
run: |
54+
wget https://raw.githubusercontent.com/fossology/fossology/master/install/db/licenseRef.json -O licenseRef.json
55+
echo "Fetched latest licenses into licenseRef.json"
56+
5257
- name: Run tests
5358
run: go test ./pkg/api -v

0 commit comments

Comments
 (0)