create TESTING
This commit is contained in:
33
.github/workflows/test.yml
vendored
Normal file
33
.github/workflows/test.yml
vendored
Normal 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
|
||||
Reference in New Issue
Block a user