-
Notifications
You must be signed in to change notification settings - Fork 1
49 lines (40 loc) · 1.06 KB
/
zephyr.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
name: Zephyr Twister Tests
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
run_tests:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
path: ucxclient
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.11
- name: Copy west.yml
shell: bash
run: |
cp ucxclient/zephyr/ci-dummy-west.yml ucxclient/west.yml
- name: Setup Zephyr project
uses: zephyrproject-rtos/action-zephyr-setup@v1
with:
app-path: ucxclient
toolchains: x86_64-zephyr-elf
- name: Run Twister
working-directory: ucxclient/
shell: bash
run: |
west twister -T zephyr/ --integration
- name: Process Test results
uses: dorny/test-reporter@v1
if: always() # always run even if the previous step fails
with:
name: Zephyr Unit Test Results
working-directory: ucxclient/
path: 'twister-out/twister_suite_report.xml'
reporter: java-junit