actions: bluetooth: fix job names and description
Misc fixes including: - unique job names - Change description to mention Bluetooth - Retry west update - Use latest unit test publication action Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
9b87d6f7fc
commit
75b7a35aec
1 changed files with 10 additions and 11 deletions
21
.github/workflows/bsim.yaml
vendored
21
.github/workflows/bsim.yaml
vendored
|
@ -11,16 +11,16 @@ on:
|
|||
- "arch/posix/**"
|
||||
|
||||
jobs:
|
||||
bsim-build-cancel:
|
||||
bluetooth-test-prep:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Cancel Previous Runs
|
||||
uses: styfle/cancel-workflow-action@0.6.0
|
||||
with:
|
||||
access_token: ${{ github.token }}
|
||||
bsim-build:
|
||||
bluetooth-test-build:
|
||||
runs-on: ubuntu-latest
|
||||
needs: bsim-build-cancel
|
||||
needs: bluetooth-test-prep
|
||||
container:
|
||||
image: zephyrprojectrtos/ci:v0.18.4
|
||||
options: '--entrypoint /bin/bash'
|
||||
|
@ -46,11 +46,10 @@ jobs:
|
|||
- name: west setup
|
||||
run: |
|
||||
west init -l . || true
|
||||
west update
|
||||
west update 2>&1 1> west.update.log
|
||||
|
||||
- name: Run Bluetooth Tests with BSIM
|
||||
run: |
|
||||
#source zephyr-env.sh
|
||||
export ZEPHYR_BASE=${PWD}
|
||||
WORK_DIR=${ZEPHYR_BASE}/bsim_bt_out tests/bluetooth/bsim_bt/compile.sh
|
||||
RESULTS_FILE=${ZEPHYR_BASE}/${bsim_bt_test_results_file} \
|
||||
|
@ -63,9 +62,9 @@ jobs:
|
|||
name: Bluetooth Test Results
|
||||
path: ./bsim_bt_out/bsim_results.xml
|
||||
|
||||
publish-test-results:
|
||||
name: "Publish Unit Tests Results"
|
||||
needs: bsim-build
|
||||
bluetooth-test-results:
|
||||
name: "Publish Bluetooth Test Results"
|
||||
needs: bluetooth-test-build
|
||||
runs-on: ubuntu-20.04
|
||||
# the build-and-test job might be skipped, we don't need to run this job then
|
||||
if: success() || failure()
|
||||
|
@ -76,10 +75,10 @@ jobs:
|
|||
with:
|
||||
path: artifacts
|
||||
|
||||
- name: Publish Unit Test Results
|
||||
uses: EnricoMi/publish-unit-test-result-action@v1.12
|
||||
- name: Publish Bluetooth Test Results
|
||||
uses: EnricoMi/publish-unit-test-result-action@v1
|
||||
with:
|
||||
check_name: Bluetooth Test Results
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
files: "**/bsim_results.xml"
|
||||
comment_on_pr: false
|
||||
comment_mode: off
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue