newdb.h
newdb.c
cheat
-advent.info
\ No newline at end of file
+advent.info
+coverage/*
\ No newline at end of file
- apk add make gcc
- apk add lcov --update-cache --repository http://dl-3.alpinelinux.org/alpine/edge/testing/ --allow-untrusted
script:
- - cd tests
- - make
- - cd ..
- - lcov -t "advent" -o advent.info -c -d .
- - genhtml -o coverage advent.info
+ - make coverage
artifacts:
paths:
- coverage
debug: CCFLAGS += -O0 --coverage -ggdb
debug: linty
debug: cheat
+
+coverage: debug check
+ lcov -t "advent" -o advent.info -c -d .
+ genhtml -o coverage/ advent.info
+