Skip to content

Commit

Permalink
CI: remove coverage raport from GHA
Browse files Browse the repository at this point in the history
twister changed the way coverage is generated

Signed-off-by: Robert Gałat <[email protected]>
  • Loading branch information
RobertGalatNordic committed Mar 25, 2024
1 parent 69d4e37 commit ffc7c06
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 70 deletions.
20 changes: 0 additions & 20 deletions .github/workflows/common-build_and_run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -237,10 +237,6 @@ jobs:
source /workdir/zephyr/zephyr-env.sh
west twister --platform native_posix --platform unit_testing --coverage --enable-ubsan --enable-lsan --enable-asan --testsuite-root /workdir/sidewalk/tests/ --inline-logs --overflow-as-errors -vvv
- name: Fix coverage report
run: |
lcov -q --remove "twister-out/coverage.info" '/**/twister-out/*' '/**/mbedtls/*' '/**/test/cmock/*' '/**/zephyr/*' -o "coverage.info"
- name: Upload test results
uses: actions/upload-artifact@v3
if: always()
Expand All @@ -250,19 +246,3 @@ jobs:
twister-out/twister.xml
twister-out/**/handler.log
twister-out/**/device.log
- name: Upload Coverage report
run: |
echo "# Coverage" >> summary
echo "" >> summary
echo "## Summary" >> summary
echo "" >> summary
echo "\`\`\`" >> summary
lcov --summary coverage.info --rc lcov_branch_coverage=1 >> summary
echo "\`\`\`" >> summary
echo "## File coverage" >> summary
echp "">> summary
echo "\`\`\`" >> summary
lcov --list coverage.info --rc lcov_branch_coverage=1 >> summary
echo "\`\`\`" >> summary
cat summary >> $GITHUB_STEP_SUMMARY
4 changes: 0 additions & 4 deletions .github/workflows/on-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,3 @@ jobs:
build_samples_and_tests:
uses: ./.github/workflows/common-build_and_run.yml

publish_test_results:
needs: [build_samples_and_tests]
uses: ./.github/workflows/publish_test_results.yml
4 changes: 0 additions & 4 deletions .github/workflows/on-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,3 @@ jobs:
build_samples_and_tests:
uses: ./.github/workflows/common-build_and_run.yml

publish_test_results:
needs: [build_samples_and_tests]
uses: ./.github/workflows/publish_test_results.yml
42 changes: 0 additions & 42 deletions .github/workflows/publish_test_results.yml

This file was deleted.

0 comments on commit ffc7c06

Please sign in to comment.