Skip to content

Commit

Permalink
Try running the validate_phenotype_model WDL in CI
Browse files Browse the repository at this point in the history
Also add a file that can be used for input to this workflow.
  • Loading branch information
amstilp committed May 21, 2024
1 parent b7204a4 commit cfc5c82
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,12 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3

- name: Checkout primed-file-checks
uses: actions/checkout@v3
with:
repository: UW-GAC/primed-file-checks
path: primed-file-checks

# Install Java to this VM. This Java version and distribution is compatible with Cromwell.
# This is the same step as used by broadinstitute/cromwell/.github/set_up_cromwell_action.
- name: Setup JDK
Expand All @@ -64,7 +70,7 @@ jobs:

- name: Validate test data
run: |
java -jar cromwell-87.jar --help
java -jar cromwell-87.jar run primed-file-checks/validate_phenotype_model.wdl --inputs test_data/wdl_inputs_validate_phenotype_model.json
shell: bash

- name: Success!
Expand Down
11 changes: 11 additions & 0 deletions test_data/wdl_inputs_validate_phenotype_model.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"validate_phenotype_model.table_files": {
"subject": "test_data/subject.tsv",
"phenotype_harmonized": "test_data/phenotype_harmonized.tsv"
},
"validate_phenotype_model.model_url": "https://raw.githubusercontent.com/UW-GAC/primed-file-checks/main/testdata/data_model_phen.json",
"validate_phenotype_model.import_tables": false,
"validate_phenotype_model.overwrite": true,
"validate_phenotype_model.workspace_name": "PRIMED_pheno_QC_test",
"validate_phenotype_model.workspace_namespace": "primed-cc-scratch"
}

0 comments on commit cfc5c82

Please sign in to comment.