Skip to content

Commit

Permalink
ci: collect test coverage from qrexec-lib too
Browse files Browse the repository at this point in the history
(cherry picked from commit 5961672)
  • Loading branch information
marmarek committed Jun 22, 2024
1 parent 5df5616 commit 8950fe7
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
checks:tests:
after_script:
- ./ci/codecov-wrapper
- (cd qrexec-lib; gcov *.c || :)
- ./ci/codecov-wrapper --gcov
before_script:
- sudo dnf install -y python3-pip
- sudo dnf install -y python3-pip 'pkgconfig(icu-uc)'
- export PATH="$PATH:$HOME/.local/bin"
- pip3 install --quiet -r ci/requirements.txt
- git config --global --add safe.directory "$PWD"
script:
- python3 -m coverage run -m unittest discover -v imgconverter -p test.py
- export CFLAGS="--coverage -DCOVERAGE" LDFLAGS=--coverage
- make -C qrexec-lib check NO_REBUILD_TABLE=1
stage: checks
tags:
- short-living-job
Expand Down

0 comments on commit 8950fe7

Please sign in to comment.