create TESTING

This commit is contained in:
2026-06-13 13:46:53 +07:00
parent 1a8bddb037
commit 695a942a5d
15 changed files with 831 additions and 14 deletions

33
.github/workflows/test.yml vendored Normal file
View File

@@ -0,0 +1,33 @@
name: Test
on:
push:
paths:
- "src/**"
- "tests/**"
- "www/**"
- "CMakeLists.txt"
- "scripts/**"
pull_request:
paths:
- "src/**"
- "tests/**"
- "www/**"
- "CMakeLists.txt"
- "scripts/**"
jobs:
test:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y --no-install-recommends build-essential cmake curl python3 python3-pip
- name: Run test suite
run: |
chmod +x scripts/run-tests.sh scripts/api-smoke.sh
./scripts/run-tests.sh