@@ -19,14 +19,44 @@ jobs:
1919 distribution : temurin
2020 java-version : ' 21'
2121 cache : gradle
22- - run : ./gradlew --no-daemon test jacocoTestReport javadoc
22+ - run : ./gradlew --no-daemon test jacocoTestReport
2323 - name : Prepare site
2424 run : |
2525 mkdir -p site
2626 cp -r build/reports/tests/test site/tests
2727 cp -r build/reports/jacoco/test/html site/coverage
28- cp -r build/docs/javadoc site/javadoc
29- echo '<meta http-equiv="refresh" content="0; url=coverage/index.html" />' > site/index.html
28+ cat > site/index.html << 'EOF'
29+ <!DOCTYPE html>
30+ <html>
31+ <head>
32+ <title>Sprout Test Reports</title>
33+ <style>
34+ body { font-family: Arial, sans-serif; margin: 40px; }
35+ .container { max-width: 800px; margin: 0 auto; }
36+ .card { border: 1px solid #ddd; border-radius: 8px; padding: 20px; margin: 20px 0; }
37+ .card h2 { margin-top: 0; color: #333; }
38+ .card p { color: #666; }
39+ .card a { display: inline-block; background: #007cba; color: white; padding: 10px 20px; text-decoration: none; border-radius: 4px; margin-top: 10px; }
40+ .card a:hover { background: #005a87; }
41+ </style>
42+ </head>
43+ <body>
44+ <div class="container">
45+ <h1>🌱 Sprout Framework - Test Reports</h1>
46+ <div class="card">
47+ <h2>📊 Test Coverage Report</h2>
48+ <p>JaCoCo 테스트 커버리지 리포트를 확인할 수 있습니다.</p>
49+ <a href="coverage/index.html">Coverage Report 보기</a>
50+ </div>
51+ <div class="card">
52+ <h2>🧪 Test Results</h2>
53+ <p>단위 테스트 실행 결과와 상세 정보를 확인할 수 있습니다.</p>
54+ <a href="tests/index.html">Test Results 보기</a>
55+ </div>
56+ </div>
57+ </body>
58+ </html>
59+ EOF
3060 - uses : actions/upload-pages-artifact@v3
3161 with :
3262 path : site
0 commit comments