Update codecov action to v3.1.0

This commit is contained in:
Paul Bartell 2022-06-28 14:07:17 -07:00 committed by Paul Bartell
parent 63f86fc7a2
commit 2070d9d3e5

View File

@ -35,14 +35,12 @@ jobs:
make -C FreeRTOS/Test/CMock lcovhtml make -C FreeRTOS/Test/CMock lcovhtml
lcov --config-file FreeRTOS/Test/CMock/lcovrc --summary FreeRTOS/Test/CMock/build/cmock_test.info > FreeRTOS/Test/CMock/build/cmock_test_summary.txt lcov --config-file FreeRTOS/Test/CMock/lcovrc --summary FreeRTOS/Test/CMock/build/cmock_test.info > FreeRTOS/Test/CMock/build/cmock_test_summary.txt
- name: Upload coverage to Codecov - name: Upload coverage to Codecov
uses: codecov/codecov-action@v1 uses: codecov/codecov-action@v3.1.0
with: with:
files: FreeRTOS/Test/CMock/build/cmock_test.info files: ${{ github.workspace }}/FreeRTOS/Test/CMock/build/cmock_test.info
working-directory: . root_dir: ${{ github.workspace }}/FreeRTOS/Source
root_dir: FreeRTOS/Source
flags: unittests flags: unittests
fail_ci_if_error: false fail_ci_if_error: false
path_to_write_report: coverage/codecov_report.txt
verbose: false verbose: false
- name: Archive code coverage data - name: Archive code coverage data
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2