Skip to content

Commit

Permalink
Update naming to address code review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
gbggrant committed May 4, 2022
1 parent 83bfa39 commit 91af7ec
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/gatk-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -251,24 +251,24 @@ jobs:
identifier: Java ${{ matrix.Java }} test on docker ${{matrix.testType}}
only-artifact: ${{ needs.check-secrets.outputs.google-credentials != 'true' }}

#test wdl validation
wdlValidation:
#run wdl validation on WDLs in the scripts directory
scriptsWdlValidation:
runs-on: ubuntu-latest
name: Validate WDLs using womtools
name: Validate scripts WDLs using womtools
steps:
- uses: actions/checkout@v2
with:
fetch: 0
- uses: ./.github/actions/install-cromwell
with:
CROMWELL_VERSION: ${{ env.CROMWELL_VERSION }}
- name: Run WDL Validation Test
run: ./gradlew gatkWDLValidation
- name: Run Scripts WDL Validation Test
run: ./gradlew gatkValidateScriptsWdl

#test wdl auto generation
wdlGen:
#run wdl validation on generated WDLs
generatedWdlValidation:
runs-on: ubuntu-latest
name: Test WDL Generation
name: Validate generated WDLs using womtools
steps:
- uses: actions/checkout@v2
with:
Expand All @@ -283,8 +283,8 @@ jobs:
with:
CROMWELL_VERSION: ${{ env.CROMWELL_VERSION }}

- name: Run WDL Generation Test
run: ./gradlew gatkWDLGenValidation
- name: Run Generated WDL Test
run: ./gradlew gatkValidateGeneratedWdl

#Run our various targeted medium scale wdl wiring tests
wdlTests:
Expand Down
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -816,7 +816,7 @@ def execWDLValidation = { validateWDL ->
}
}

task gatkWDLValidation() {
task gatkValidateScriptsWdl() {
doFirst {
// running this task requires a local cromwell installation, with environment variables CROMWELL_JAR,
// WOMTOOL_JAR set to the jar locations
Expand All @@ -839,7 +839,7 @@ task gatkWDLValidation() {
}
}

task gatkWDLGenValidation(dependsOn: [gatkWDLGen, shadowJar]) {
task gatkValidateGeneratedWdl(dependsOn: [gatkWDLGen, shadowJar]) {
doFirst {
// running this task requires a local cromwell installation, with environment variables CROMWELL_JAR,
// WOMTOOL_JAR set to the jar locations
Expand All @@ -849,7 +849,7 @@ task gatkWDLGenValidation(dependsOn: [gatkWDLGen, shadowJar]) {
}

doLast {
// first, run the womtool validator
// first, run the womtool validator on WDL files in the 'doc/wdlGen' directory
final File wdlGenFolder = new File("$docBuildDir/wdlGen")
def wdlFiles = fileTree(dir: wdlGenFolder).filter {
f -> !f.getAbsolutePath().endsWith(".html") && !f.getAbsolutePath().endsWith(".json")
Expand Down

0 comments on commit 91af7ec

Please sign in to comment.