Skip to content

Commit dcde359

Browse files
committed
Add upload step for analyze / coverage.
1 parent c7746ae commit dcde359

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

.github/workflows/analyze.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,9 @@ jobs:
1111
- name: analyze
1212
run: |
1313
cd lib && scan-build -o ../_analyze --use-cc clang make
14+
- name: upload report
15+
run: |
16+
cd _analyze
17+
FILE=$(ls)
18+
mv $FILE /var/public_html/analyze/$FILE
19+
echo "View [$FILE](https://ci.libccv.org/analyze/$FILE)" >> $GITHUB_STEP_SUMMARY

.github/workflows/coverage.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,12 @@ jobs:
1212
- name: tests
1313
run: |
1414
make -C test check
15-
- name: coverage report
15+
- name: generate report
1616
run: |
1717
cd test && ./cover-gen.rb ../_coverage
18+
- name: upload report
19+
run: |
20+
cd _coverage
21+
FILE=$(ls)
22+
mv $FILE /var/public_html/coverage/$FILE
23+
echo "View [$FILE](https://ci.libccv.org/coverage/$FILE)" >> $GITHUB_STEP_SUMMARY

0 commit comments

Comments
 (0)