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

Workflow Optimization Merge Tests and Reports #157

Merged
merged 2 commits into from
Oct 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 0 additions & 32 deletions .github/workflows/coverage_report.yml

This file was deleted.

24 changes: 0 additions & 24 deletions .github/workflows/coverage_verification.yml

This file was deleted.

21 changes: 20 additions & 1 deletion .github/workflows/test_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,26 @@ jobs:
if: success() || failure()
with:
name: MT-TestReport
path: /home/runner/work/MathTools/MathTools/generators/build/reports/tests/unit-test/aggregated-results
path: /home/runner/work/*/*/*/build/reports/tests/
retention-days: 60
if-no-files-found: error
timeout-minutes: 1

- name: Run JaCoCo Test Report
if: success()
run: ./gradlew jacocoTestReport --warn
timeout-minutes: 3

- name: Upload Coverage Report
uses: actions/upload-artifact@v3
if: success()
with:
name: Coverage-Report
path: /home/runner/work/*/*/*/build/jacocoReport/
retention-days: 60
timeout-minutes: 1

- name: Verify Coverage
if: success()
run: ./gradlew jacocoTestCoverageVerification --warn
timeout-minutes: 4
2 changes: 1 addition & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
pluginManagement {
plugins {
id "org.jetbrains.kotlin.jvm" version "1.9.10"
id "org.jetbrains.dokka" version "1.9.0"
id "org.jetbrains.dokka" version "1.9.10"
}
repositories {
google()
Expand Down