Skip to content

Commit

Permalink
testing
Browse files Browse the repository at this point in the history
  • Loading branch information
antevir committed Feb 7, 2024
1 parent e2d25ba commit 82271cd
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 15 deletions.
44 changes: 29 additions & 15 deletions .github/workflows/ceedling.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Ceedling Unit Tests

on:
push:
branches: [ master ]
branches: [ master,anan_zephyr_test ]
pull_request:
branches: [ master ]

Expand All @@ -12,20 +12,34 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
- name: Checkout
uses: actions/checkout@v3
with:
path: ucxclient

- name: Set up Python
uses: actions/setup-python@v4
with:
ruby-version: 2.7
- name: Install Ceedling
run: gem install ceedling
- name: Run Unit Tests
python-version: 3.11

- name: Copy west.yaml
shell: bash
run: |
ceedling test:all
- name: Process Test results
uses: dorny/test-reporter@v1
if: always() # always run even if the previous step fails
ls ucxclient
cp ucxclient/zephyr/west.yml ucxclient/
- name: Setup Zephyr project
uses: zephyrproject-rtos/action-zephyr-setup@v1
with:
name: Unit Test Results
path: 'build/artifacts/test/report_junit.xml'
reporter: jest-junit
app-path: ucxclient
toolchains: x86_64-zephyr-elf

- name: Build firmware
working-directory: ucxclient/
shell: bash
run: |
pwd
ls -a
echo "next"
ls -a ..
west build -b qemu_x86 zephyr/http_example
14 changes: 14 additions & 0 deletions zephyr/west.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
manifest:
self:
west-commands: scripts/west-commands.yml

remotes:
- name: zephyrproject-rtos
url-base: https://github.com/zephyrproject-rtos

projects:
- name: zephyr
remote: zephyrproject-rtos
revision: main
#import:
# name-allowlist: []

0 comments on commit 82271cd

Please sign in to comment.