Skip to content

test: convert LIST unit tests from CMock to Ztest framework #2

test: convert LIST unit tests from CMock to Ztest framework

test: convert LIST unit tests from CMock to Ztest framework #2

name: "Unit Tests (Zephyr ztest)"
on: [pull_request]

Check failure on line 2 in .github/workflows/zephyr-unit-tests.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/zephyr-unit-tests.yml

Invalid workflow file

You have an error in your yaml syntax on line 2
branches:
- 'main'
permissions:
contents: read
# Specifies group name that stops previous workflows if the name matches
concurrency:
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true
jobs:
sof-ci-unit-tests:
name: SOF CI Unit Tests
runs-on: ubuntu-22.04
timeout-minutes: 10
steps:
- name: Checkout SOF repository
uses: actions/checkout@v4
with:
path: ./workspace/sof
fetch-depth: 2
filter: 'tree:0'
- name: west update
run: |
cd workspace/sof
pip3 install west
west init -l
west update --narrow --fetch-opt=--filter=tree:0
- name: Test step
run: |
echo "pwd: $(pwd)"
echo "ls -l:"
ls -l
echo "End"