Skip to content

New CI mock input class #37

New CI mock input class

New CI mock input class #37

name: Integration Tests
on:
push:
branches: [main, develop]
pull_request:
branches: [main, develop]
jobs:
test-with-zephyr:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "18"
cache: "npm"
- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get install -y python3-pip python3-venv cmake ninja-build gperf \
ccache dfu-util device-tree-compiler wget file make gcc gcc-multilib \
g++-multilib libsdl2-dev libmagic1
- name: Install dependencies
run: npm ci
- name: Compile TypeScript
run: npm run test-compile
- name: Run linting
run: npm run lint
- name: Run real integration tests
run: |
xvfb-run -a node scripts/run-integration-tests.js
env:
NODE_ENV: test
ZEPHYR_BASE: /tmp/zephyr