Skip to content

Commit

Permalink
Added config stanza for test report output dir. Updated job dependenc…
Browse files Browse the repository at this point in the history
…y for CI.
  • Loading branch information
mwcw committed Mar 4, 2024
1 parent 98b1839 commit 30ace1f
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 9 deletions.
24 changes: 15 additions & 9 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ check-code:

test-code-8:
stage: test
needs: []
needs: ["check-code"]
script:
- "ecr_login"
- "ecr_pull vm_base_intel latest"
Expand All @@ -36,11 +36,12 @@ test-code-8:
- "pkix/build/reports"
- "mail/build/reports"
- "util/build/reports"
- "tls/build/reports"

- "tls/build/reports"
- "mls/build/reports"

test-code-11:
stage: test
needs: []
needs: ["check-code"]
script:
- "ecr_login"
- "ecr_pull vm_base_intel latest"
Expand All @@ -54,10 +55,12 @@ test-code-11:
- "pkix/build/reports"
- "mail/build/reports"
- "util/build/reports"
- "tls/build/reports"

- "tls/build/reports"
- "mls/build/reports"

test-code-17:
stage: test
needs: ["check-code"]
script:
- "ecr_login"
- "ecr_pull vm_base_intel latest"
Expand All @@ -71,10 +74,12 @@ test-code-17:
- "pkix/build/reports"
- "mail/build/reports"
- "util/build/reports"
- "tls/build/reports"
- "tls/build/reports"
- "mls/build/reports"

test-code-21:
stage: test
needs: []
needs: ["check-code"]
script:
- "ecr_login"
- "ecr_pull vm_base_intel latest"
Expand All @@ -88,4 +93,5 @@ test-code-21:
- "pkix/build/reports"
- "mail/build/reports"
- "util/build/reports"
- "tls/build/reports"
- "tls/build/reports"
- "mls/build/reports"
6 changes: 6 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,12 @@ subprojects {
tasks.withType(JavaCompile).configureEach {
options.debug = true;
}

tasks.withType(Test).configureEach {
reports {
junitXml.outputLocation = layout.buildDirectory.dir("test-results")
}
}
}

test.dependsOn([':core:test', ':prov:test', ':prov:test11', ':prov:test17', ':prov:test21', ':pkix:test', 'pg:test', ':tls:test', 'mls:test', 'mail:test', 'jmail:test'])

0 comments on commit 30ace1f

Please sign in to comment.