Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update tache 2 #8

Open
wants to merge 15 commits into
base: develop
Choose a base branch
from
Open
  •  
  •  
  •  
24 changes: 20 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,27 @@ jobs:
cache: 'maven'
- name: Build and Test
run: |
export MAVEN_OPTS="-XX:+PrintFlagsFinal"
xvfb-run mvn -B verify -Djavafx.platform=linux jacoco:report -Pcoverage
unset MAVEN_OPTS
# Flags to test
flags=(
"-Xms512m"
"-XX:+UseG1GC"
"-XX:+PrintGCDetails"
"-XX:+HeapDumpOnOutOfMemoryError"
"-XX:+UseCompressedOops"
)


for flag in "${flags[@]}"; do
echo "Using MAVEN_OPTS: $flag"
export MAVEN_OPTS="$flag"


xvfb-run mvn -B verify -Djavafx.platform=linux jacoco:report -Pcoverage

unset MAVEN_OPTS # Clear MAVEN_OPTS for the next iteration
done
- name: Get JaCoCo Coverage
id: coverage
id: coverage
run: |
coverage=$(python3 config/coverage.py target/site/jacoco/jacoco.csv)
echo "COVERAGE=$coverage" >> $GITHUB_ENV
Expand Down
Binary file added IMG_2148.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions cryptomator/.idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

78 changes: 78 additions & 0 deletions cryptomator/.idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

154 changes: 154 additions & 0 deletions htmlReport/css/coverage.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,154 @@
/*
* Copyright 2000-2021 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

* {
margin: 0;
padding: 0;
}

body {
background-color: #fff;
font-family: helvetica neue, tahoma, arial, sans-serif;
font-size: 82%;
color: #151515;
}

h1 {
margin: 0.5em 0;
color: #010101;
font-weight: normal;
font-size: 18px;
}

h2 {
margin: 0.5em 0;
color: #010101;
font-weight: normal;
font-size: 16px;
}

a {
color: #1564C2;
text-decoration: none;
}

a:hover {
text-decoration: underline;
}

span.separator {
color: #9BA9BA;
padding-left: 5px;
padding-right: 5px;
}

div.content {
width: 99%;
}

table.coverageStats {
width: 100%;
border-collapse: collapse;
}

table.overallStats {
width: 20%;
}

table.coverageStats td, table.coverageStats th {
padding: 4px 2px;
border-bottom: 1px solid #ccc;
}

table.coverageStats th {
background-color: #959BA4;
border: none;
font-weight: bold;
text-align: left;
color: #FFF;
}

table.coverageStats th.coverageStat {
width: 15%;
}

table.coverageStats th a {
color: #FFF;
}

table.coverageStats th a:hover {
text-decoration: none;
}

table.coverageStats th.sortedDesc a {
background: url(../img/arrowDown.gif) no-repeat 100% 2px;
padding-right: 20px;
}

table.coverageStats th.sortedAsc a {
background: url(../img/arrowUp.gif) no-repeat 100% 2px;
padding-right: 20px;
}

div.footer {
margin: 2em .5em;
font-size: 85%;
text-align: left;
line-height: 140%;
}

code.sourceCode {
width: 100%;
border: 1px solid #ccc;
font: normal 12px 'Menlo', 'Bitstream Vera Sans Mono', 'Courier New', 'Courier', monospace;
white-space: pre;
}

code.sourceCode b {
font-weight: normal;
}

code.sourceCode span.number {
color: #151515;
}

code.sourceCode .fc {
background-color: #cfc;
}

code.sourceCode .pc {
background-color: #ffc;
}

code.sourceCode .nc {
background-color: #fcc;
}

.percent, .absValue {
font-size: 90%;
}

.percent .green, .absValue .green {
color: #32cc32;
}

.percent .red, .absValue .red {
color: #f00;
}

.percent .totalDiff {
color: #3f3f3f;
}
118 changes: 118 additions & 0 deletions htmlReport/css/idea.min.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,118 @@
/*
* Copyright 2000-2021 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

/*
Intellij Idea-like styling (c) Vasily Polovnyov <[email protected]>
*/

.hljs {
color: #000;
background: #fff;
}

.hljs-subst,
.hljs-title {
font-weight: normal;
color: #000;
}

.hljs-comment,
.hljs-quote {
color: #808080;
font-style: italic;
}

.hljs-meta {
color: #808000;
}

.hljs-tag {
background: #efefef;
}

.hljs-section,
.hljs-name,
.hljs-literal,
.hljs-keyword,
.hljs-selector-tag,
.hljs-type,
.hljs-selector-id,
.hljs-selector-class {
font-weight: bold;
color: #000080;
}

.hljs-attribute,
.hljs-number,
.hljs-regexp,
.hljs-link {
font-weight: bold;
color: #0000ff;
}

.hljs-number,
.hljs-regexp,
.hljs-link {
font-weight: normal;
}

.hljs-string {
color: #008000;
font-weight: bold;
}

.hljs-symbol,
.hljs-bullet,
.hljs-formula {
color: #000;
background: #d0eded;
font-style: italic;
}

.hljs-doctag {
text-decoration: underline;
}

.hljs-variable,
.hljs-template-variable {
color: #660e7a;
}

.hljs-addition {
background: #baeeba;
}

.hljs-deletion {
background: #ffc8bd;
}

.hljs-emphasis {
font-style: italic;
}

.hljs-strong {
font-weight: bold;
}

.hljs-ln-numbers {
display: block;
float: left;
width: 3em;
border-right: 1px solid #ccc;
font-style: normal;
text-align: right;
background-color: #eee;
}
Binary file added htmlReport/img/arrowDown.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added htmlReport/img/arrowUp.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading