Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
evoal-core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Terraform modules
Monitor
Service Desk
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
evoal
source
evoal-core
Commits
4b9839a4
Commit
4b9839a4
authored
1 year ago
by
Bernhard Johannes Berger
Browse files
Options
Downloads
Patches
Plain Diff
Profiling update
parent
d2445d88
No related branches found
No related tags found
No related merge requests found
Pipeline
#304546
failed
1 year ago
Stage: Domain Specific Languages
Stage: EvoAl
Stage: Release
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+2
-2
2 additions, 2 deletions
.gitlab-ci.yml
ci/regression-coverage.sh
+1
-5
1 addition, 5 deletions
ci/regression-coverage.sh
src/evoal/core/de.evoal.releng.jacoco/pom.xml
+1
-7
1 addition, 7 deletions
src/evoal/core/de.evoal.releng.jacoco/pom.xml
with
4 additions
and
14 deletions
.gitlab-ci.yml
+
2
−
2
View file @
4b9839a4
...
...
@@ -117,7 +117,7 @@ evoal:unit:
reports
:
junit
:
src/evoal/*/*/target/surefire-reports/TEST-*.xml
paths
:
-
src/evoal/
core/de.evoal.releng.jacoco
/target/site/jacoco-aggregate/jacoco.xml
-
src/evoal/
*/*
/target/site/jacoco-aggregate/jacoco.xml
-
src/evoal/*/*/target/surefire-reports/TEST-*.xml
evoal:coverage
:
...
...
@@ -127,7 +127,7 @@ evoal:coverage:
image
:
haynes/jacoco2cobertura:1.0.7
script
:
-
jacoco_paths=`find src -path "**/src/main/java" -type d | sed -e 's@^@'"$CI_PROJECT_DIR"'/@'`
-
python /opt/cover2cover.py src/evoal/core/de.evoal.releng.jacoco/target/aggregate.xml $jacoco_paths > src/evoal/core/de.evoal.releng.jacoco/target/site/coverage.xml
-
python /opt/cover2cover.py src/evoal/core/de.evoal.releng.jacoco/target/
site/jacoco-
aggregate
/jacoco
.xml $jacoco_paths > src/evoal/core/de.evoal.releng.jacoco/target/site/coverage.xml
needs
:
[
"
evoal:unit"
]
dependencies
:
-
evoal:unit
...
...
This diff is collapsed.
Click to expand it.
ci/regression-coverage.sh
+
1
−
5
View file @
4b9839a4
...
...
@@ -2,12 +2,12 @@ JACOCO_PATH=/Users/berber/bin/jacoco
echo
"Downloading Jacoco-Agent"
mvn org.apache.maven.plugins:maven-dependency-plugin:2.1:get
-Dmaven
.repo.local
=
${
CI_PROJECT_DIR
}
/.m2/repository
-Dartifact
=
org.jacoco:org.jacoco.agent:0.8.10
-DrepoUrl
=
https://repo.maven.apache.org/maven2/
mvn org.apache.maven.plugins:maven-dependency-plugin:2.1:get
-Dmaven
.repo.local
=
${
CI_PROJECT_DIR
}
/.m2/repository
-Dartifact
=
org.jacoco:org.jacoco.cli:0.8.10
-DrepoUrl
=
https://repo.maven.apache.org/maven2/
pushd
evoal/examples
export
EVOAL_VM
=
-javaagent
:
${
CI_PROJECT_DIR
}
/.m2/repository/org/jacoco/org.jacoco.agent/0.8.10/org.jacoco.agent-0.8.10-runtime.jar
=
dumponexit
=
true
set
-e
for
EXAMPLE
in
*
;
do
if
[
!
-d
$EXAMPLE
]
;
then
continue
...
...
@@ -21,8 +21,4 @@ for EXAMPLE in *; do
popd
done
EXECS
=
$(
find
.
-name
"*exec"
)
java
-jar
$JACOCO_PATH
/lib/jacococli.jar merge
$EXECS
--destfile
output.execb
popd
\ No newline at end of file
This diff is collapsed.
Click to expand it.
src/evoal/core/de.evoal.releng.jacoco/pom.xml
+
1
−
7
View file @
4b9839a4
...
...
@@ -99,12 +99,6 @@
</goals>
<configuration>
<fileSets>
<fileSet>
<directory>
.
</directory>
<includes>
<include>
**/target/jacoco.exec
</include>
</includes>
</fileSet>
<fileSet>
<directory>
../../evoal/examples
</directory>
<includes>
...
...
@@ -112,7 +106,7 @@
</includes>
</fileSet>
</fileSets>
<destFile>
target/
aggregate
.exec
</destFile>
<destFile>
target/
regression
.exec
</destFile>
</configuration>
</execution>
</executions>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment