Skip to content

Commit b2193a6

Browse files
committed
Add all project files and test folders
1 parent ac7e024 commit b2193a6

361 files changed

Lines changed: 7837 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/my_tests.yml

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
name: Gate
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
build-and-test:
11+
name: Build and Test All
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
# Checkout repozitorijuma i submodula
16+
- name: Checkout repo with submodules
17+
uses: actions/checkout@v3
18+
with:
19+
submodules: recursive
20+
21+
# Postavi dozvole za skripte
22+
- name: Set execute permissions
23+
run: |
24+
chmod +x unit/run_unit_test.sh
25+
chmod +x integration/run_integration_test.sh
26+
chmod +x clang_tidy/run_clang_tidy.sh
27+
chmod +x asan/runa_asan_test.sh
28+
chmod +x valgrind/run_valgrind.sh
29+
chmod +x afl/run_afl++_test.sh
30+
31+
# Unit test
32+
- name: Run Unit Tests
33+
run: |
34+
cd unit
35+
./run_unit_test.sh
36+
37+
# Integration test
38+
- name: Run Integration Tests
39+
run: |
40+
cd integration
41+
./run_integration_test.sh
42+
43+
# Clang-Tidy analiza
44+
- name: Run Clang-Tidy
45+
run: |
46+
cd clang_tidy
47+
./run_clang_tidy.sh
48+
49+
# AddressSanitizer testovi
50+
- name: Run ASan
51+
run: |
52+
cd asan
53+
./runa_asan_test.sh
54+
55+
# Valgrind Memcheck testovi
56+
- name: Run Valgrind Memcheck
57+
run: |
58+
cd valgrind
59+
./run_valgrind.sh
60+
61+
# AFL++ fuzzing
62+
- name: Run AFL++
63+
run: |
64+
cd afl
65+
./run_afl++_test.sh

0 commit comments

Comments
 (0)