Np refactor gha #103
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test Multi Sample Smart Seq 2 Single Nucleus | |
# Controls when the workflow will run | |
on: | |
pull_request: | |
branches: [ "develop", "staging", "master" ] | |
# Only run if files in these paths changed: | |
#################################### | |
# SET PIPELINE SPECIFIC PATHS HERE # | |
#################################### | |
paths: | |
# anything in the pipelines folder | |
- 'pipelines/skylab/smartseq2_single_nucleus_multisample/**' | |
# tasks from the pipeline WDL and their dependencies | |
- 'tasks/skylab/CheckInputs.wdl' | |
- 'tasks/skylab/TrimAdapters.wdl' | |
- 'tasks/skylab/StarAlign.wdl' | |
- 'tasks/skylab/Picard.wdl' | |
- 'tasks/skylab/FeatureCounts.wdl' | |
- 'tasks/skylab/H5adUtils.wdl' | |
- 'tasks/broad/Utilities.wdl' | |
# verification WDL and its dependencies | |
- 'verification/VerifyMultiSampleSmartSeq2SingleNucleus.wdl' | |
- 'verification/VerifyTasks.wdl' | |
# test WDL and its dependencies | |
- 'verification/test-wdls/TestMultiSampleSmartSeq2SingleNucleus.wdl' | |
- 'tasks/broad/TerraCopyFilesFromCloudToCloud.wdl' | |
# this file and the subworkflow file | |
- '.github/workflows/test_multisamplesmartseq2singlenucleus.yml' | |
- '.github/workflows/warp_test_workflow.yml' | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
inputs: | |
useCallCache: | |
description: 'Use call cache (default: true)' | |
required: false | |
default: "true" | |
updateTruth: | |
description: 'Update truth files (default: false)' | |
required: false | |
default: "false" | |
testType: | |
description: 'Specify the type of test (Plumbing or Scientific)' | |
required: false | |
type: choice | |
options: | |
- Plumbing | |
- Scientific | |
truthBranch: | |
description: 'Specify the branch for truth files (default: master)' | |
required: false | |
default: "master" | |
jobs: | |
TestMultiSampleSmartSeq2SingleNucleus: | |
uses: ./.github/workflows/warp_test_workflow.yml | |
with: | |
pipeline_name: TestMultiSampleSmartSeq2SingleNucleus | |
dockstore_pipeline_name: Smartseq2_Single_Nucleus_Multisample | |
pipeline_dir: pipelines/skylab/smartseq2_single_nucleus_multisample | |
use_call_cache: ${{ github.event.inputs.useCallCache || 'true' }} | |
update_truth: ${{ github.event.inputs.updateTruth || 'false' }} | |
test_type: ${{ github.event.inputs.testType }} | |
truth_branch: ${{ github.event.inputs.truthBranch || 'master' }} | |
secrets: | |
PDT_TESTER_SA_B64: ${{ secrets.PDT_TESTER_SA_B64 }} | |
DOCKSTORE_TOKEN: ${{ secrets.DOCKSTORE_TOKEN }} |