34 lines
671 B
YAML
34 lines
671 B
YAML
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
|