Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
Actor Framework
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cpp-libs
Actor Framework
Commits
c3b094f7
Unverified
Commit
c3b094f7
authored
Jun 30, 2023
by
Dominik Charousset
Committed by
GitHub
Jun 30, 2023
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1463
Add GitHub action for code coverage via codecov
parents
7bcb25d0
fad8bd88
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
50 additions
and
0 deletions
+50
-0
.github/workflows/codecov.yml
.github/workflows/codecov.yml
+39
-0
codecov.yml
codecov.yml
+11
-0
No files found.
.github/workflows/codecov.yml
0 → 100644
View file @
c3b094f7
# Note: we use a build with exceptions disabled for gcov, because it generates
# more accurate stats on branches.
name
:
codecov
on
:
pull_request
:
push
:
branches
:
-
master
env
:
CTEST_NO_TESTS_ACTION
:
error
jobs
:
codecov
:
runs-on
:
ubuntu-latest
steps
:
-
uses
:
actions/checkout@v3
-
name
:
install-robot
run
:
|
pip install \
robotframework \
robotframework-requests \
robotframework-websocketclient
-
name
:
configure
run
:
|
cmake \
-S . \
-B build \
-DCAF_ENABLE_ROBOT_TESTS:BOOL=ON \
-DCAF_ENABLE_EXCEPTIONS:BOOL=OFF \
-DCMAKE_CXX_FLAGS:STRING="-fno-exceptions -fprofile-arcs -ftest-coverage" \
-DCMAKE_BUILD_TYPE:STRING=Debug \
-DBUILD_SHARED_LIBS:BOOL=OFF
-
name
:
build
run
:
make -C build -j
4
-
name
:
test
run
:
ctest --test-dir build
-
name
:
upload-coverage
uses
:
codecov/codecov-action@v3
with
:
gcov
:
true
codecov.yml
0 → 100644
View file @
c3b094f7
ignore
:
-
build
-
examples
-
libcaf_core/caf/decorator
-
libcaf_core/src/decorator
-
libcaf_core/test
-
libcaf_io/test
-
libcaf_net/test
-
libcaf_openssl
-
libcaf_test
-
tools
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment