diff --git a/.github/workflows/analyze.yaml b/.github/workflows/analyze.yaml index caeee4dad..2778c4bdb 100644 --- a/.github/workflows/analyze.yaml +++ b/.github/workflows/analyze.yaml @@ -11,3 +11,9 @@ jobs: - name: analyze run: | cd lib && scan-build -o ../_analyze --use-cc clang make + - name: upload report + run: | + cd _analyze + FILE=$(ls) + mv $FILE /var/public_html/analyze/$FILE + echo "View [$FILE](https://ci.libccv.org/analyze/$FILE)" >> $GITHUB_STEP_SUMMARY diff --git a/.github/workflows/coverage.yaml b/.github/workflows/coverage.yaml index 3b64e488c..a0be126ea 100644 --- a/.github/workflows/coverage.yaml +++ b/.github/workflows/coverage.yaml @@ -12,6 +12,12 @@ jobs: - name: tests run: | make -C test check - - name: coverage report + - name: generate report run: | cd test && ./cover-gen.rb ../_coverage + - name: upload report + run: | + cd _coverage + FILE=$(ls) + mv $FILE /var/public_html/coverage/$FILE + echo "View [$FILE](https://ci.libccv.org/coverage/$FILE)" >> $GITHUB_STEP_SUMMARY