Skip to content

Commit

Permalink
Merge pull request #2640 from mashehu/use-pdiff-in-gitpot
Browse files Browse the repository at this point in the history
use pdiff also on gitpod for nf-test
  • Loading branch information
mashehu authored Jan 8, 2024
2 parents e0dabc9 + 9b45d58 commit 19d2c4a
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .gitpod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ tasks:
- name: unset JAVA_TOOL_OPTIONS
command: |
unset JAVA_TOOL_OPTIONS
- name: Use pdiff for nf-test diff viewing
command: |
export NFT_DIFF="pdiff"
export NFT_DIFF_ARGS="--line-numbers --expand-tabs=2"
vscode:
extensions: # based on nf-core.nf-core-extensionpack
- codezombiech.gitignore # Language support for .gitignore files
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
### Template

- Use `pre-commit` to lint files in GitHub CI ([#2635](https://github.com/nf-core/tools/pull/2635))
- Use pdiff also on gitpod for nf-test ([#2640](https://github.com/nf-core/tools/pull/2640))

### Download

Expand Down
4 changes: 4 additions & 0 deletions nf_core/pipeline-template/.gitpod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ tasks:
- name: unset JAVA_TOOL_OPTIONS
command: |
unset JAVA_TOOL_OPTIONS
- name: Use pdiff for nf-test diff viewing
command: |
export NFT_DIFF="pdiff"
export NFT_DIFF_ARGS="--line-numbers --expand-tabs=2"
vscode:
extensions: # based on nf-core.nf-core-extensionpack
- codezombiech.gitignore # Language support for .gitignore files
Expand Down

0 comments on commit 19d2c4a

Please sign in to comment.