-
-
Notifications
You must be signed in to change notification settings - Fork 96
37 lines (37 loc) · 1 KB
/
Copy pathtests.yml
File metadata and controls
37 lines (37 loc) · 1 KB
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
name: Tests
on:
push:
branches:
- main
pull_request:
types: [ opened, synchronize, reopened ]
jobs:
TactilityTests:
runs-on: ubuntu-latest
steps:
- name: "Checkout repo"
uses: actions/checkout@v6
with:
submodules: recursive
- name: "Configure Project"
uses: threeal/cmake-action@v1.3.0
- name: "Prepare Project"
run: cmake -S ./ -B build
- name: "Build Tests"
run: cmake --build build --target build-tests
- name: "Run Tests"
run: ctest --test-dir build/Tests
DevicetreeTests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
persist-credentials: false
submodules: recursive
- name: "Install Python Dependencies"
shell: bash
run: pip install lark==1.3.1 pyyaml==6.0.3
- name: "Run Devicetree Tests"
shell: bash
working-directory: Buildscripts/DevicetreeCompiler/tests
run: python test_integration.py