Skip to content

Commit 14a3120

Browse files
committed
use yaml specific comment symbols
1 parent d65784a commit 14a3120

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ nf_core/pipeline-template/nextflow_schema.json
88
nf_core/pipeline-template/modules.json
99
nf_core/pipeline-template/tower.yml
1010
nf_core/pipeline-template/.github/ISSUE_TEMPLATE/bug_report.yml
11+
nf_core/pipeline-template/.github/workflows/nf-test.yml
1112
tests/data/pipeline_create_template_skip.yml
1213
# don't run on things handled by ruff
1314
*.py

nf_core/pipeline-template/.github/workflows/nf-test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ env:
3434
jobs:
3535
nf-test-changes:
3636
name: nf-test-changes
37-
runs-on: // {% endraw %}{% if is_nfcore %}use self-hosted runners
37+
runs-on: #{% endraw %}{% if is_nfcore %} use self-hosted runners
3838
- runs-on=${{ github.run_id }}-nf-test-changes
3939
- runner=4cpu-linux-x64{% else %}use GitHub runners
4040
- "ubuntu-latest"{% endif %}{% raw %}
@@ -69,7 +69,7 @@ jobs:
6969
name: "${{ matrix.profile }} | ${{ matrix.NXF_VER }} | ${{ matrix.shard }}/${{ needs.nf-test-changes.outputs.total_shards }}"
7070
needs: [nf-test-changes]
7171
if: ${{ needs.nf-test-changes.outputs.total_shards != '0' }}
72-
runs-on: // {% endraw %}{% if is_nfcore %}use self-hosted runners
72+
runs-on: #{% endraw %}{% if is_nfcore %} use self-hosted runners
7373
- runs-on=${{ github.run_id }}-nf-test
7474
- runner=4cpu-linux-x64{% else %}use GitHub runners
7575
- "ubuntu-latest"{% endif %}{% raw %}
@@ -111,7 +111,7 @@ jobs:
111111
confirm-pass:
112112
needs: [nf-test]
113113
if: always()
114-
runs-on: // {% endraw %}{% if is_nfcore %}use self-hosted runners
114+
runs-on: {% endraw %}#{% if is_nfcore %} use self-hosted runners
115115
- runs-on=${{ github.run_id }}-confirm-pass
116116
- runner=2cpu-linux-x64{% else %}use GitHub runners
117117
- "ubuntu-latest"{% endif %}{% raw %}

0 commit comments

Comments
 (0)