Skip to content
Closed
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
18 changes: 18 additions & 0 deletions .github/workflows/cc-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,21 @@ jobs:
curl https://publicsuffix.org/list/public_suffix_list.dat -o conf/effective_tld_names.dat
- name: Test
run: ant clean test -buildfile build.xml
- name: Upload Test Results
if: always()
uses: actions/upload-artifact@v4
with:
name: test-results
path: |
./build/test/TEST-*.xml
./build/**/test/TEST-*.xml
retention-days: 1
- name: Publish Test Results
if: always()
uses: EnricoMi/publish-unit-test-result-action@v2
with:
files: |
./build/test/TEST-*.xml
./build/**/test/TEST-*.xml
comment_mode: always
fail_on: "test failures"
2 changes: 1 addition & 1 deletion build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@
<testclasses outputDir="${test.build.dir}" unless="testcase">
<listener type="legacy-plain" sendSysOut="true" sendSysErr="true"/>
<listener type="legacy-xml" sendSysOut="true" sendSysErr="true"/>
<fork>
<fork forkMode="perTestClass">
<jvmarg value="-Xmx1000m"/>
<sysproperty key="test.build.data" value="${test.build.data}"/>
<sysproperty key="test.src.dir" value="${test.src.dir}"/>
Expand Down
2 changes: 1 addition & 1 deletion src/java/org/apache/nutch/tools/CommonCrawlDataDumper.java
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ public void dump(File outputDir, File segmentRootDir, File linkdb, boolean gzip,
if (parts == null || parts.size() == 0) {
LOG.error( "No segment directories found in {} ",
segmentRootDir.getAbsolutePath());
System.exit(1);
return;
}
LOG.info("Found {} segment parts", parts.size());
if (gzip && !warc) {
Expand Down