-
Notifications
You must be signed in to change notification settings - Fork 0
๐ง Github pages resource ์ค๋น๋ฅผ python script์์ gradle ๊ธฐ๋ฐ์ผ๋ก ๋ณ๊ฒฝ #84
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
base: develop
Are you sure you want to change the base?
Conversation
- Release version, commit id๋ฅผ ์ ๋ ฅ๋ฐ์ - ๋ ์ค ํ๋๋ผ๋ ์ ๊ณต๋ฐ์ง ๋ชปํ๋ฉด GradleException ๋ฐ์ - Test ์์ฑ
Core9 testsโโโ9 โ
โโ4s โฑ๏ธ Results for commit cba1e76. โป๏ธ This comment has been updated with latest results. |
Api13 testsโโโ13 โ
โโ4s โฑ๏ธ Results for commit cba1e76. โป๏ธ This comment has been updated with latest results. |
Admin0 testsโโโ0 โ
โโ0s โฑ๏ธ Results for commit cba1e76. โป๏ธ This comment has been updated with latest results. |
- ๊ธฐ์กด copy task๋ deprecate - rootDir/build/reports/tests์ index.html๊ณผ xml/**.xml ์์น - xml์ ๊ฒฝ์ฐ module์ dir ์ด๋ฆ์ ๋ถ์ฌ ์ค๋ณต ๋ฐฉ์ง - github workflow๋ ์ ์ฉ๋์ง ์์
- test-reports๊ฐ ์๋ ๊ฒฝ์ฐ๊ฐ ํ๋๋ผ๋ ์๋ ๊ฒฝ์ฐ gradle์ด ํด๋น test๋ฅผ ์ํํ์ง ์๊ฒ ๋ค๊ณ ํ๋จ - exists ์ฌ๋ถ์ ๋ฐ๋ผ ์ํ๋๋๋ก ๋ณ๊ฒฝ
- TestReport type์ configure cache ์ ์ฉ ์ ํด๋น task๊ฐ ์ํ๋์ง ์๋ ๊ฒฝ์ฐ๊ฐ ์๊ธธ ์ ์๊ธฐ ๋๋ฌธ
- Junit html report๊ฐ ๋์ค์ ์คํ๋๋ฉด xml dir๊ฐ ์ญ์ ๋๋ ๋ฌธ์ ๊ฐ ๋ฐ์
- aggregateJunitTestReports๋ก ๋ฌถ์ด ์คํ ์ ์ง์์ ์ผ๋ก NO-SOURCE ๋ฐ์
gradle aggregateJunitHtmlReports
gradle aggregateJunitXmlReports์์ ๊ฐ์ด ๋๋์ด์ ์คํํ๋ฉด ๋์ง๋ง tasks.register('aggregateJunitTestReports', TestReport) {
// aggregateJunitXmlReports๊ฐ ๊ณ์ no source๋ก ๋จ
aggregateJunitXmlReports.mustRunAfter(aggregateJunitHtmlReports)
dependsOn(aggregateJunitHtmlReports)
dependsOn(aggregateJunitXmlReports)
}์์ ๊ฐ์ด ์ค์ ํ aggregateJunitTestReport task๋ง ์คํ ์ aggregateJunitXmlReport๊ฐ ๊ณ์ NO-SOURCE๋ก ํ๊ฐ๋จ Mac (local)์์๋ ์ ์์ ์ผ๋ก ์๋ |
- File tree ๊ตฌ์ฑ ์ค - MetaData๋ฅผ field๋ก ์ถ๊ฐ
|
GitHubPagesConfigureTask์์ ์๋ DSL์ ๋ฐ์๋๋ฆฌ๋๋ก ์ค์ ํ ์์ fileTree {
type = FileTreeConfig.IndexFileFormat.MARKDOWN
rootDir = 'docs'
}
report {
junit {
sourceDir = 'src/test/java'
}
jacoco {
sourceDir = 'build/reports/jacoco'
}
openApi {
sourceDir = 'src/main/resources/openapi'
multiModule {
'api'
'admin'
}
}
javaDoc {
sourceDir = 'build/docs/javadoc'
}
}
|
|
DSL style๋ก ์ค์ ํ๊ฒ ๋๋ฉด gradle action์ ๋ํด ์์กด์ฑ์ด ์๊น Yml, json ๋ฑ์ ์ฌ์ฉํ์ฌ configureํ๊ฒ ๋๋ฉด ์ธ๋ถ library ์ข ์์ฑ์ ์๊ธฐ์ง๋ง test ์ ์์กด์ฑ ๊ด๋ จํ ๋ฌธ์ ๋ ์์ Groovy ๋๋ Kotlin์ ์ฌ์ฉํ์ฌ configure์ ์ ์ ์ DSL์ ํตํ configure ์ ์ฉ์ด ๋ ์ฌ์ธ ๊ฒ์ผ๋ก ์์๋์ง๋ง ํ๋์ task ๋ด์์ ์ธ์ด๊ฐ ๋ฌ๋ผ์ง๋ ๊ฒ์ ์ข์ง ์๋ค๊ณ ํ๋จ ๋จ |
์ด๋ฒ PR์์๋ configure ์ ๋ณด๋ฅผ class ๋ด์ ํ๋์ฝ๋ฉ, ์ด ํ ๋ณ๊ฒฝํ๋ ๊ฒ์ผ๋ก ์ ํ |


โจ New features
์ถ๊ฐ๋ ๊ธฐ๋ฅ1
๐งฑ Dependency
์ถ๊ฐ๋ depdendency ์ด๋ฆ๐ Fix
โ๏ธ Changed
๋ณ๊ฒฝ ๋ด์ฉ1
๐๏ธ Deprecate
๐ Docs
ETC
๐ธ Screen Shot
Screenshot ์ด๋ฆ