Skip to content

Commit

Permalink
Do not use a score in autograding.
Browse files Browse the repository at this point in the history
  • Loading branch information
uhafner committed Dec 17, 2023
1 parent 3ebcbe2 commit 1022d3e
Showing 1 changed file with 7 additions and 17 deletions.
24 changes: 7 additions & 17 deletions .github/workflows/reporting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,17 @@ jobs:
uses: stCarolas/[email protected]
with:
maven-version: 3.9.5
- name: Generate coverage with JaCoCo
run: mvn -V --color always -ntp clean verify --file pom.xml '-Dgpg.skip' | tee maven.log
- name: Build and test with Maven
run: mvn -V --color always -ntp clean verify --file pom.xml '-Dgpg.skip' '-Ppit' | tee maven.log
- name: Upload coverage to Codecov
uses: codecov/[email protected]
with:
token: ${{secrets.CODECOV_TOKEN}}
- name: Autograding
- name: Run Autograding
uses: uhafner/autograding-github-action@v3
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
checks-name: 'Quality Checks'
config: >
{
"tests": {
Expand All @@ -44,11 +45,7 @@ jobs:
"pattern": "**/target/*-reports/TEST*.xml"
}
],
"name": "JUnit",
"passedImpact": 0,
"skippedImpact": -1,
"failureImpact": -5,
"maxScore": 100
"name": "Tests"
},
"analysis": {
"name": "Warnings",
Expand All @@ -75,12 +72,7 @@ jobs:
"sourcePath": "src/main/java",
"pattern": "**/target/spotbugsXml.xml"
}
],
"errorImpact": -1,
"highImpact": -1,
"normalImpact": -1,
"lowImpact": -1,
"maxScore": 100
]
},
"coverage": [
{
Expand All @@ -100,9 +92,7 @@ jobs:
"pattern": "**/target/site/jacoco/jacoco.xml"
}
],
"name": "JaCoCo",
"maxScore": 100,
"missedPercentageImpact": -1
"name": "Code Coverage"
}
]
}
Expand Down

0 comments on commit 1022d3e

Please sign in to comment.