Skip to content

Commit

Permalink
Fix kosli attachment paths
Browse files Browse the repository at this point in the history
  • Loading branch information
JonJagger committed Mar 2, 2024
1 parent c383827 commit 7d2624c
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 90 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -165,14 +165,15 @@ jobs:
run: |
make test
kosli attest generic "${IMAGE_NAME}" \
--attachments=./tmp/coverage \
--attachments=./test/client/reports \
--attachments=./test/server/reports \
--description="server & client branch-coverage" \
--name=runner.branch-coverage \
--user-data=./test/evidence.json
# kosli attest junit "${IMAGE_NAME}"
# --name=runner.unit-test
# --results-dir=test/reports/junit
# --results-dir=./test/server/reports/junit


snyk-container-scan:
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/main_staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -153,10 +153,11 @@ jobs:
run: |
make test
kosli attest generic "${IMAGE_NAME}" \
--attachments=./tmp/coverage \
--attachments=./test/client/reports \
--attachments=./test/server/reports \
--description="server & client branch-coverage" \
--name=runner.branch-coverage \
--user-data=./tmp/evidence.json
--user-data=./test/evidence.json
# kosli attest junit "${IMAGE_NAME}"
# --name=runner.unit-test
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@ test/client/reports/.*

test/server/reports/*
test/server/reports/.*

test/evidence.json
85 changes: 0 additions & 85 deletions test/evidence.json

This file was deleted.

2 changes: 1 addition & 1 deletion test/server/max_metrics.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

"test": {
"lines": {
"total":963,
"total":960,
"missed":0
},
"branches": {
Expand Down

0 comments on commit 7d2624c

Please sign in to comment.