File tree Expand file tree Collapse file tree 3 files changed +9
-7
lines changed Expand file tree Collapse file tree 3 files changed +9
-7
lines changed Original file line number Diff line number Diff line change 4242 run : sudo apt-get install gcc make
4343 - name : Run tests
4444 run : make -C test tests
45- - name : Upload coverage reports to Codecov
46- uses : codecov/codecov-action@v3
47- with :
48- verbose : true
49- env :
50- CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
Original file line number Diff line number Diff line change @@ -42,12 +42,20 @@ TODO: make naming conventions e.g.:
4242 - camelCase for local variables
4343
4444## Side notes
45+
46+ ### Docs diagrams
4547Diagrams are generated with help of [ Graphviz] ( ) .dot engine.
4648To generate locally:
4749```
4850$ brew install graphviz # install Graphviz (MacOS)
4951$ for file in ./**/*.gv; do dot -Tsvg "$file" > "${file%.gv}.svg"; done # dot -Tsvg file.gv > file.svg
5052```
5153
54+ ### TODO: Code coverage
55+ It seems that it's hard to check coverage on macros.
56+
57+ Based on [ Codecov] ( https://about.codecov.io/ ) :
58+
59+ [ How to Set Up Codecov with C and GitHub Actions in 2022] ( https://about.codecov.io/blog/how-to-set-up-codecov-with-c-and-github-actions/ )
5260
5361
Original file line number Diff line number Diff line change 11# Compiler
2- CC = gcc -fprofile-arcs -ftest-coverage
2+ CC = gcc
33
44# Directories
55SRC_DIR = ../src
You can’t perform that action at this time.
0 commit comments