forked from eclipse-iceoryx/iceoryx
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into iox-eclipse-iceoryx#391-static-memory-alte…
…rnative-for-std-function
- Loading branch information
Showing
929 changed files
with
24,851 additions
and
20,590 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,34 @@ | ||
# codecov yaml | ||
comment: yes # do not comment PR with the result | ||
layout: "reach, diff, flags, files" | ||
behavior: default | ||
require_changes: yes # only post the comment if coverage changes | ||
require_base: no | ||
require_head: yes | ||
|
||
coverage: | ||
range: 50..90 | ||
range: 70..100 | ||
|
||
status: | ||
project: # settings affecting project coverage | ||
project: | ||
default: | ||
enabled: yes | ||
target: auto # auto % coverage target | ||
threshold: 100% # we allow here 100% change to unblock PRs (will be set later) | ||
|
||
# do not run coverage on patch nor changes | ||
target: 70% | ||
threshold: 2% # allow coverage to drop maximum by a defined value | ||
patch: | ||
default: | ||
enabled: yes | ||
target: auto # auto % coverage target | ||
threshold: 100% # we allow here 100% change to unblock PRs (will be set later) | ||
changes: no | ||
target: 70% | ||
threshold: 2% | ||
changes: yes | ||
|
||
parsers: | ||
gcov: | ||
branch_detection: | ||
conditional: yes | ||
loop: yes | ||
method: yes | ||
macro: yes | ||
|
||
fixes: | ||
- "/home/runner/work/iceoryx/iceoryx/::" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
# This workflow run the coverage scan and generate the doxygen documentation in iceoryx | ||
|
||
name: Test Coverage + Doxygen Documentation | ||
|
||
# Triggers the workflow on push or pull request events but only for the master branch | ||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
branches: [ master ] | ||
|
||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | ||
jobs: | ||
iceoryx-coverage-doxygen-ubuntu: | ||
runs-on: ubuntu-20.04 | ||
|
||
steps: | ||
- name: compiler versions | ||
run: | | ||
echo $(gcc --version) | ||
echo $(clang --version) | ||
- name: Install iceoryx dependencies | ||
# Softwares installed in ubuntu-18.04 instance | ||
# https://github.com/actions/virtual-environments/blob/master/images/linux/Ubuntu1804-README.md | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install -y libacl1-dev libncurses5-dev git cmake build-essential doxygen graphviz texlive-font-utils lcov | ||
sudo apt-get install -y plantuml texlive-latex-base texlive-latex-extra texlive-latex-recommended texlive-fonts-recommended | ||
- name : Checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Build, test and generate gcov report | ||
run: | | ||
mkdir $GITHUB_WORKSPACE/lcov_results | ||
mkdir $GITHUB_WORKSPACE/lcov_results/unittest | ||
# add flag to include coverage | ||
sudo $GITHUB_WORKSPACE/tools/add_test_users.sh | ||
$GITHUB_WORKSPACE/tools/iceoryx_build_test.sh build-strict build-all test-add-user -c unit | ||
cp -rf $GITHUB_WORKSPACE/build/lcov/ $GITHUB_WORKSPACE/lcov_results/unittest/ | ||
- name: Upload coverage to Codecov | ||
uses: codecov/codecov-action@v1 | ||
with: | ||
file: ./lcov_results/unittest/lcov/iceoryx_lcov_result_unit.info | ||
name: iceoryx | ||
flags: unittests | ||
fail_ci_if_error: true | ||
|
||
- name: Generate doxygen documentation | ||
run: | | ||
# add flag to include coverage | ||
$GITHUB_WORKSPACE/tools/iceoryx_build_test.sh clean doc | ||
- name: Archive generated doxygen | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: iceoryx-pdf | ||
path: | | ||
./build/doc/*.pdf | ||
retention-days: 30 | ||
|
Oops, something went wrong.