Skip to content

Commit d1dbb09

Browse files
committed
ci: add run-tests step
1 parent a40dcbf commit d1dbb09

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,16 @@ jobs:
2929
enable_jekyll: false
3030
allow_empty_commit: false
3131
force_orphan: true
32-
publish_branch: gh-pages
32+
publish_branch: gh-pages
3333

34+
run-tests:
35+
runs-on: ubuntu-latest
36+
steps:
37+
- name: Checkout code
38+
uses: actions/checkout@v3
39+
with:
40+
submodules: recursive
41+
- name: Install dependencies
42+
run: sudo apt-get install gcc make
43+
- name: Run tests
44+
run: make -C test tests

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
![CI Status](https://github.com/polesskiy-dev/active-object-fsm/actions/workflows/ci.yml/badge.svg?branch=main)
12
# active-object-fsm
23
Minimalistic implementation of Active Object pattern + FSM for embedded systems.
34

0 commit comments

Comments
 (0)