github actions for testing

This commit is contained in:
2025-10-03 22:17:14 +02:00
parent 06946c8066
commit 275969b4b2
+23
View File
@@ -0,0 +1,23 @@
name: C Tests
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y gcc make libcriterion-dev
- name: Build and run tests
run: make test