Skip to content

Commit ed33fdd

Browse files
committed
ci: disable coverage for main
1 parent bae8a83 commit ed33fdd

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.github/actions/zephyr/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ runs:
4545
uses: actions/cache@v4
4646
with:
4747
path: /opt/lf-zephyr-uc-template
48-
key: lf-zephyr-uc-template-${{ runner.os }}
48+
key: lf-zephyr-uc-template-${{ runner.os }}-v2
4949

5050
- name: Download and install Zephyr RTOS with the lf-zephyr-uc-template
5151
if: steps.cache-zephyr-rtos.outputs.cache-hit != 'true' && inputs.clone-template == 'true'
@@ -70,4 +70,4 @@ runs:
7070
west zephyr-export
7171
pip install -r deps/zephyr/scripts/requirements.txt
7272
echo "ZEPHYR_BASE=/opt/lf-zephyr-uc-template/deps/zephyr" >> $GITHUB_ENV
73-
shell: bash
73+
shell: bash

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ jobs:
3333
run: make coverage CMAKE_EXTRA_FLAGS=-DLF_SKIP_GENERATE=ON
3434

3535
- name: Publish coverage results
36+
if: github.event_name == 'pull_request'
3637
uses: romeovs/lcov-reporter-action@2a28ec3e25fb7eae9cb537e9141603486f810d1a
3738
with:
3839
lcov-file: build/coverage.info

0 commit comments

Comments
 (0)