25 lines
838 B
YAML
25 lines
838 B
YAML
name: jarvis-ci
|
|
|
|
on:
|
|
push:
|
|
pull_request:
|
|
|
|
jobs:
|
|
node:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Install computer-use test dependencies
|
|
run: |
|
|
sudo apt-get update
|
|
sudo apt-get install -y --no-install-recommends python3-pil python3-gi gir1.2-glib-2.0 libei1
|
|
- uses: actions/setup-node@v4
|
|
with: { node-version: '22.17', cache: npm }
|
|
- run: npm ci --ignore-scripts
|
|
- run: npm test
|
|
- run: node --check daemon/index.js
|
|
- run: node --check daemon/dbus-service.js
|
|
- run: node --check apps/gnome-extension/[email protected]/extension.js
|
|
- run: python3 -c "import xml.etree.ElementTree as E; E.parse('dbus/io.qvac.Jarvis.Session.xml')"
|
|
- run: python3 -m py_compile apps/control-center/main.py computer-use/py/*.py
|