Skip to content

Commit 480c349

Browse files
committed
use pdiff installed and setup by setup-nf-test
1 parent 75d8c83 commit 480c349

File tree

4 files changed

+1
-13
lines changed

4 files changed

+1
-13
lines changed

.github/workflows/create-test-lint-wf-template.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,9 +113,6 @@ jobs:
113113
- name: run pipeline nf-test
114114
if: ${{ matrix.TEMPLATE != 'all' && matrix.TEMPLATE != 'nf-test' }}
115115
shell: bash
116-
env:
117-
NFT_DIFF: "pdiff"
118-
NFT_DIFF_ARGS: "--line-numbers --width 120 --expand-tabs=2"
119116
run: |
120117
cd create-test-lint-wf/my-prefix-testpipeline
121118
nf-test test \

.github/workflows/create-test-wf.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,6 @@ jobs:
7777
7878
- name: Run nf-test
7979
shell: bash
80-
env:
81-
NFT_DIFF: "pdiff"
82-
NFT_DIFF_ARGS: "--line-numbers --width 120 --expand-tabs=2"
8380
run: |
8481
cd create-test-wf/nf-core-testpipeline
8582
nf-test test \

nf_core/pipeline-template/.github/actions/nf-test/action.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ runs:
3333
uses: nf-core/setup-nf-test@v1
3434
with:
3535
version: "${{ env.NFT_VER }}"
36+
install-pdiff: true
3637

3738
- name: Setup apptainer
3839
if: contains(inputs.profile, 'singularity')
@@ -53,11 +54,6 @@ runs:
5354
conda-solver: libmamba
5455
conda-remove-defaults: true
5556

56-
- name: Install pdiff
57-
shell: bash
58-
run: |
59-
python -m pip install pdiff
60-
6157
# TODO Skip failing conda tests and document their failures
6258
# https://github.com/nf-core/modules/issues/7017
6359
- name: Run nf-test

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@ concurrency:
2525

2626
env:
2727
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
28-
NFT_DIFF: "pdiff"
29-
NFT_DIFF_ARGS: "--line-numbers --width 120 --expand-tabs=2"
3028
NFT_VER: "0.9.2"
3129
NFT_WORKDIR: "~"
3230
NXF_ANSI_LOG: false

0 commit comments

Comments
 (0)