added pipelines
Some checks failed
Check Build / build (pull_request) Failing after 48s
Run Tests / test (pull_request) Failing after 4s

This commit is contained in:
2026-01-17 16:36:19 +01:00
parent 1ea823a1f6
commit 0aa3ba0b33
2 changed files with 80 additions and 0 deletions

30
.gitea/workflows/test.yml Normal file
View File

@@ -0,0 +1,30 @@
name: Run Tests
on:
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Install tree-sitter CLI
run: npm install -g tree-sitter-cli
- name: Generate parser
run: tree-sitter generate
- name: Run tests
run: tree-sitter test