Update.
Build / build-linux (push) Failing after 22s
Build / build-clang (push) Failing after 1m32s
Tests / test (push) Failing after 1m47s
Build / build-macos (push) Has been cancelled

This commit is contained in:
2025-11-29 00:50:53 +01:00
parent a8f1d81976
commit 1ad8901f3e
57 changed files with 18606 additions and 93 deletions
+42
View File
@@ -0,0 +1,42 @@
name: Tests
on:
push:
branches: [ main, develop ]
pull_request:
branches: [ main, develop ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y build-essential sqlite3 libsqlite3-dev valgrind
- name: Build library
run: make build-lib
- name: Run unit tests
run: make test
- name: Run memory check
run: |
echo "Memory checking (if tools available)..."
which valgrind && make memcheck || echo "valgrind not available"
- name: Generate coverage
run: |
echo "Coverage generation (if tools available)..."
which gcov && make coverage || echo "gcov not available"
- name: Upload coverage
if: success()
uses: codecov/codecov-action@v3
with:
files: ./coverage.info
fail_ci_if_error: false