mirror of
https://github.com/espressif/openthread.git
synced 2026-07-20 02:54:07 +00:00
[github-actions] fix POSIX workflow coverage uploading (#5472)
Upload data one build at a time.
This commit is contained in:
@@ -65,6 +65,18 @@ jobs:
|
||||
- name: Run
|
||||
run: |
|
||||
VERBOSE=1 OT_CLI_PATH="$(pwd)/$(ls output/posix/*/bin/ot-cli) -v" RADIO_DEVICE="$(pwd)/$(ls output/*/bin/ot-rcp)" make -f src/posix/Makefile-posix check
|
||||
- name: Keep Simulation Only
|
||||
run: |
|
||||
tar -cf build/posix.tar -C build/ posix/
|
||||
rm -rf build/posix/
|
||||
- name: Codecov
|
||||
uses: codecov/codecov-action@v1
|
||||
with:
|
||||
fail_ci_if_error: true
|
||||
- name: Keep POSIX Only
|
||||
run: |
|
||||
rm -rf build/x86_64-unknown-linux-gnu/
|
||||
tar -xf build/posix.tar -C build/
|
||||
- name: Codecov
|
||||
uses: codecov/codecov-action@v1
|
||||
with:
|
||||
@@ -96,6 +108,18 @@ jobs:
|
||||
- name: Run
|
||||
run: |
|
||||
VERBOSE=1 OT_NCP_PATH="$(pwd)/$(ls output/posix/*/bin/ot-ncp)" RADIO_DEVICE="$(pwd)/$(ls output/*/bin/ot-rcp)" make -f src/posix/Makefile-posix check
|
||||
- name: Keep Simulation Only
|
||||
run: |
|
||||
tar -cf build/posix.tar -C build/ posix/
|
||||
rm -rf build/posix/
|
||||
- name: Codecov
|
||||
uses: codecov/codecov-action@v1
|
||||
with:
|
||||
fail_ci_if_error: true
|
||||
- name: Keep POSIX Only
|
||||
run: |
|
||||
rm -rf build/x86_64-unknown-linux-gnu/
|
||||
tar -xf build/posix.tar -C build/
|
||||
- name: Codecov
|
||||
uses: codecov/codecov-action@v1
|
||||
with:
|
||||
@@ -118,6 +142,18 @@ jobs:
|
||||
- name: Run
|
||||
run: |
|
||||
script/check-ncp-rcp-migrate check
|
||||
- name: Keep Simulation Only
|
||||
run: |
|
||||
tar -cf build/posix.tar -C build/ posix/
|
||||
rm -rf build/posix/
|
||||
- name: Codecov
|
||||
uses: codecov/codecov-action@v1
|
||||
with:
|
||||
fail_ci_if_error: true
|
||||
- name: Keep POSIX Only
|
||||
run: |
|
||||
rm -rf build/x86_64-unknown-linux-gnu/
|
||||
tar -xf build/posix.tar -C build/
|
||||
- name: Codecov
|
||||
uses: codecov/codecov-action@v1
|
||||
with:
|
||||
@@ -148,6 +184,18 @@ jobs:
|
||||
- name: Run
|
||||
run: |
|
||||
script/check-posix-pty check
|
||||
- name: Keep Simulation Only
|
||||
run: |
|
||||
tar -cf build/posix.tar -C build/ posix/
|
||||
rm -rf build/posix/
|
||||
- name: Codecov
|
||||
uses: codecov/codecov-action@v1
|
||||
with:
|
||||
fail_ci_if_error: true
|
||||
- name: Keep POSIX Only
|
||||
run: |
|
||||
rm -rf build/x86_64-unknown-linux-gnu/
|
||||
tar -xf build/posix.tar -C build/
|
||||
- name: Codecov
|
||||
uses: codecov/codecov-action@v1
|
||||
with:
|
||||
@@ -179,6 +227,18 @@ jobs:
|
||||
- name: Run
|
||||
run: |
|
||||
script/check-posix-pty check
|
||||
- name: Keep Simulation Only
|
||||
run: |
|
||||
tar -cf build/posix.tar -C build/ posix/
|
||||
rm -rf build/posix/
|
||||
- name: Codecov
|
||||
uses: codecov/codecov-action@v1
|
||||
with:
|
||||
fail_ci_if_error: true
|
||||
- name: Keep POSIX Only
|
||||
run: |
|
||||
rm -rf build/x86_64-unknown-linux-gnu/
|
||||
tar -xf build/posix.tar -C build/
|
||||
- name: Codecov
|
||||
uses: codecov/codecov-action@v1
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user