Skip to content

Commit

Permalink
Merge pull request #2642 from mashehu/add-pdiff-to-docker-image
Browse files Browse the repository at this point in the history
Set pdiff as nf-test differ in Docker image for Gitpod
  • Loading branch information
mashehu authored Jan 8, 2024
2 parents 97e9bd4 + 22613c5 commit 501b6f0
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 11 deletions.
5 changes: 0 additions & 5 deletions .gitpod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,6 @@ tasks:
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
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
### 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 All @@ -22,6 +21,7 @@
- Update pre-commit hook pre-commit/mirrors-mypy to v1.8.0 ([#2630](https://github.com/nf-core/tools/pull/2630))
- Update mshick/add-pr-comment action to v2 ([#2632](https://github.com/nf-core/tools/pull/2632))
- update python image version in docker file ([#2636](https://github.com/nf-core/tools/pull/2636))
- Set pdiff as nf-test differ in Docker image for Gitpod ([#2642](https://github.com/nf-core/tools/pull/2642))

# [v2.11.1 - Magnesium Dragon Patch](https://github.com/nf-core/tools/releases/tag/2.11) - [2023-12-20]

Expand Down
6 changes: 5 additions & 1 deletion nf_core/gitpod/gitpod.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,8 @@ RUN conda config --add channels defaults && \
RUN nextflow self-update

# Install nf-core
RUN python -m pip install .
RUN python -m pip install . --no-cache-dir

# Setup pdiff for nf-test diffs
RUN export NFT_DIFF="pdiff" && \
export NFT_DIFF_ARGS="--line-numbers --expand-tabs=2"
5 changes: 1 addition & 4 deletions nf_core/pipeline-template/.gitpod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,7 @@ 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 501b6f0

Please sign in to comment.