Skip to content

Commit 5b67ce3

Browse files
added tests to CI
1 parent eb92343 commit 5b67ce3

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/tests.yml

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Tests
2+
on:
3+
push:
4+
jobs:
5+
build-project:
6+
runs-on: ubuntu-latest
7+
steps:
8+
- name: Install dependencies
9+
run: sudo apt-get install libgtest-dev && sudo apt-get install gcovr && sudo apt-get install lcov
10+
11+
- name: Checkout the repository
12+
uses: actions/checkout@v3.5.3
13+
14+
- name: Configure the project
15+
uses: threeal/cmake-action@v1.3.0
16+
17+
- name: Build the project
18+
run: cmake --build build
19+
20+
- name: Test the project
21+
run: ctest --test-dir build

0 commit comments

Comments
 (0)