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

Standardize test results directory between normal/docker tests #8718

Merged
merged 4 commits into from
Mar 7, 2024
Merged
Show file tree
Hide file tree
Changes from 2 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
4 changes: 0 additions & 4 deletions .github/workflows/gatk-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -230,10 +230,6 @@ jobs:
bash --init-file /gatk/gatkenv.rc /root/run_unit_tests.sh;
TEST_EXIT_VALUE=$?;
$( exit ${TEST_EXIT_VALUE} );
sudo chmod -R a+w build/reports/;
mkdir build/reports/tests/test \
&& cp -rp build/reports/tests/testOnPackagedReleaseJar/* build/reports/tests/test \
&& rm -r build/reports/tests/testOnPackagedReleaseJar;
- uses: ./.github/actions/upload-gatk-test-results
if: always()
Expand Down
3 changes: 3 additions & 0 deletions scripts/docker/dockertest.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,9 @@ task testOnPackagedReleaseJar(type: Test){

jvmArgs = getJVMArgs(runtimeAddOpens, testAddOpens)

//Set this to match the name of the normal test output in order to simplify finding / uploading it
reports.html.outputLocation = file("$buildDir/reports/tests/test")

classpath = files( gatkJar, testDependencyJar, testClassesJar)
testClassesDirs = files(testClassesUnpacked)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@ public void testFileToFileWithMD5(String fileIn, String extOut, String reference
doFileToFile(fileIn, extOut, reference, true);
}


@Test
public void failToTestReporting(){
Assert.fail();
}

@Test
public void testNoConflictPG() throws IOException {
final File inFile = new File(TEST_DATA_DIR, "print_reads_withPG.sam");
Expand Down
Loading