|
| 1 | +name: Test ImputationBeagle |
| 2 | + |
| 3 | +# Controls when the workflow will run |
| 4 | +on: |
| 5 | + pull_request: |
| 6 | + branches: [ "develop", "staging", "master" ] |
| 7 | + # Only run if files in these paths changed: |
| 8 | + #################################### |
| 9 | + # SET PIPELINE SPECIFIC PATHS HERE # |
| 10 | + #################################### |
| 11 | + paths: |
| 12 | + - 'pipelines/broad/arrays/imputation_beagle/**' |
| 13 | + - 'structs/imputation/ImputationBeagleStructs.wdl' |
| 14 | + - 'tasks/broad/ImputationTasks.wdl' |
| 15 | + - 'tasks/broad/ImputationBeagleTasks.wdl' |
| 16 | + - 'verification/VerifyImputationBeagle.wdl' |
| 17 | + - 'verification/test-wdls/TestImputationBeagle.wdl' |
| 18 | + - 'tasks/broad/Utilities.wdl' |
| 19 | + - 'tasks/broad/TerraCopyFilesFromCloudToCloud.wdl' |
| 20 | + - '.github/workflows/test_imputation_beagle.yml' |
| 21 | + - '.github/workflows/warp_test_workflow.yml' |
| 22 | + |
| 23 | + |
| 24 | + # Allows you to run this workflow manually from the Actions tab |
| 25 | + workflow_dispatch: |
| 26 | + inputs: |
| 27 | + useCallCache: |
| 28 | + description: 'Use call cache (default: true)' |
| 29 | + required: false |
| 30 | + default: "true" |
| 31 | + updateTruth: |
| 32 | + description: 'Update truth files (default: false)' |
| 33 | + required: false |
| 34 | + default: "false" |
| 35 | + testType: |
| 36 | + description: 'Specify the type of test (Plumbing or Scientific)' |
| 37 | + required: false |
| 38 | + type: choice |
| 39 | + options: |
| 40 | + - Plumbing |
| 41 | + - Scientific |
| 42 | + truthBranch: |
| 43 | + description: 'Specify the branch for truth files (default: master)' |
| 44 | + required: false |
| 45 | + default: "master" |
| 46 | + |
| 47 | +env: |
| 48 | + # pipeline configuration |
| 49 | + PIPELINE_NAME: TestImputationBeagle |
| 50 | + DOCKSTORE_PIPELINE_NAME: ImputationBeagle |
| 51 | + PIPELINE_DIR: "pipelines/broad/arrays/imputation_beagle" |
| 52 | + |
| 53 | + # workspace configuration |
| 54 | + TESTING_WORKSPACE: WARP Tests |
| 55 | + WORKSPACE_NAMESPACE: warp-pipelines |
| 56 | + |
| 57 | + # service account configuration |
| 58 | + SA_JSON_B64: ${{ secrets.PDT_TESTER_SA_B64 }} |
| 59 | + USER: pdt-tester@warp-pipeline-dev.iam.gserviceaccount.com |
| 60 | + |
| 61 | + |
| 62 | +jobs: |
| 63 | + TestImputationBeagle: |
| 64 | + uses: ./.github/workflows/warp_test_workflow.yml |
| 65 | + with: |
| 66 | + pipeline_name: TestImputationBeagle |
| 67 | + dockstore_pipeline_name: ImputationBeagle |
| 68 | + pipeline_dir: pipelines/broad/arrays/imputation_beagle |
| 69 | + use_call_cache: ${{ github.event.inputs.useCallCache || 'true' }} |
| 70 | + update_truth: ${{ github.event.inputs.updateTruth || 'false' }} |
| 71 | + test_type: ${{ github.event.inputs.testType }} |
| 72 | + truth_branch: ${{ github.event.inputs.truthBranch || 'master' }} |
| 73 | + secrets: |
| 74 | + PDT_TESTER_SA_B64: ${{ secrets.PDT_TESTER_SA_B64 }} |
| 75 | + DOCKSTORE_TOKEN: ${{ secrets.DOCKSTORE_TOKEN }} |
0 commit comments