Skip to content

Commit

Permalink
Add github workflow for unit tests on PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
stribor14 committed Sep 20, 2024
1 parent eb3f251 commit bf6ab22
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Unit Tests

on:
pull_request:
branches:
- '**'

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Install Dependencies
run: sudo apt-get install -y libeigen3-dev

- name: Build Project
run: |
mkdir build
cd build
cmake .. -DBUILD-TESTS=ON
make
- name: Run Tests
run: ./test/unit_tests

0 comments on commit bf6ab22

Please sign in to comment.