|
33 | 33 | - "conda" |
34 | 34 | - "docker" |
35 | 35 | - "singularity" |
36 | | - parameters: |
37 | | - - "" |
38 | | - - "--skip_trimming" |
39 | | - - "--skip_consensus_peaks" |
40 | | - - "--aligner bowtie2" |
41 | | - - "--aligner chromap" |
42 | | - - "--aligner star" |
| 36 | + test_name: |
| 37 | + - "test" |
43 | 38 | isMaster: |
44 | 39 | - ${{ github.base_ref == 'master' }} |
45 | 40 | # Exclude conda and singularity on dev |
|
87 | 82 | - name: Clean up Disk space |
88 | 83 | uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # v1.3.1 |
89 | 84 |
|
90 | | - - name: "Run pipeline with test data ${{ matrix.NXF_VER }} | ${{ matrix.parameters }} | ${{ matrix.profile }}" |
| 85 | + - name: "Run pipeline with test data ${{ matrix.NXF_VER }} | ${{ matrix.test_name }} | ${{ matrix.profile }}" |
91 | 86 | continue-on-error: ${{ matrix.NXF_VER == 'latest-everything' }} |
92 | 87 | run: | |
93 | | - nextflow run ${GITHUB_WORKSPACE} -profile test,${{ matrix.profile }} --outdir ./results ${{ matrix.parameters }} |
| 88 | + nextflow run ${GITHUB_WORKSPACE} -profile test,docker --outdir ./results |
| 89 | +
|
| 90 | + - name: Run pipeline with test data (singularity) |
| 91 | + run: | |
| 92 | + nextflow run ${GITHUB_WORKSPACE} -profile test,singularity --outdir ./results |
| 93 | + if: "${{ github.base_ref == 'master' }}" |
| 94 | + |
| 95 | + - name: Run pipeline with test data (conda) |
| 96 | + run: | |
| 97 | + nextflow run ${GITHUB_WORKSPACE} -profile test,conda --outdir ./results |
| 98 | + if: "${{ github.base_ref == 'master' }}" |
| 99 | + |
| 100 | + parameters: |
| 101 | + name: Test workflow parameters |
| 102 | + if: "${{ github.event_name != 'push' || (github.event_name == 'push' && github.repository == 'nf-core/chipseq') }}" |
| 103 | + runs-on: ubuntu-latest |
| 104 | + strategy: |
| 105 | + matrix: |
| 106 | + NXF_VER: |
| 107 | + - "24.04.2" |
| 108 | + - "latest-everything" |
| 109 | + parameters: |
| 110 | + - "--skip_trimming" |
| 111 | + - "--skip_consensus_peaks" |
| 112 | + - "--aligner bowtie2" |
| 113 | + - "--aligner chromap" |
| 114 | + - "--aligner star" |
| 115 | + steps: |
| 116 | + - name: Check out pipeline code |
| 117 | + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4 |
| 118 | + |
| 119 | + - name: Install Nextflow |
| 120 | + uses: nf-core/setup-nextflow@v2 |
| 121 | + with: |
| 122 | + version: "${{ matrix.NXF_VER }}" |
| 123 | + |
| 124 | + - name: Disk space cleanup |
| 125 | + uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # v1.3.1 |
| 126 | + |
| 127 | + - name: Run pipeline with various parameters (docker) |
| 128 | + run: | |
| 129 | + nextflow run ${GITHUB_WORKSPACE} -profile test,docker --outdir ./results ${{ matrix.parameters }} |
| 130 | +
|
| 131 | + - name: Run pipeline with various parameters (singularity) |
| 132 | + run: | |
| 133 | + nextflow run ${GITHUB_WORKSPACE} -profile test,singularity --outdir ./results ${{ matrix.parameters }} |
| 134 | + if: "${{ github.base_ref == 'master' }}" |
| 135 | + |
| 136 | + - name: Run pipeline with various parameters (conda) |
| 137 | + run: | |
| 138 | + nextflow run ${GITHUB_WORKSPACE} -profile test,conda --outdir ./results ${{ matrix.parameters }} |
94 | 139 | if: "${{ github.base_ref == 'master' }}" |
0 commit comments