diff --git a/.github/workflows/bsim.yaml b/.github/workflows/bsim.yaml index a3a639a0c2d..d139b387bdc 100644 --- a/.github/workflows/bsim.yaml +++ b/.github/workflows/bsim.yaml @@ -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