-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[IMPROV] Quality of Life improvments for the devcontainer #163
Merged
Merged
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
4691596
fix nf-scil as main remote for nf-core modules and subworkflows commands
AlexVCaron afcf19c
reinstate venv inside of workspace
AlexVCaron 6a94664
persist cli between builds
AlexVCaron 9115035
move .nf-test to its own volume
AlexVCaron 5fb18df
update documentation
AlexVCaron 056ab1b
hotfix
AlexVCaron daa27b8
fix documentation
AlexVCaron 2f4ff2e
fix prettier
AlexVCaron 9f9fb6f
configure nf-test version in the container
AlexVCaron 37856b2
move nf-test installation to container
AlexVCaron File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/usr/bin/env bash | ||
|
||
npm install -g --save-dev --save-exact prettier | ||
npm install -g editorconfig | ||
npm install -g --save-dev editorconfig-checker | ||
|
||
mkdir -p $XDG_CONFIG_HOME/nf-scil | ||
touch $XDG_CONFIG_HOME/nf-scil/.env | ||
echo "source $XDG_CONFIG_HOME/nf-scil/.env" >> ~/.bashrc | ||
|
||
mkdir -p /nf-test/bin | ||
cd /nf-test/bin/ | ||
curl -fsSL https://code.askimed.com/install/nf-test | bash -s ${NFTEST_VERSION} | ||
echo "PATH=$PATH:/nf-test/bin" >> ~/.bashrc |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/usr/bin/env bash | ||
|
||
|
||
GIT_REMOTE=$(git remote get-url origin) | ||
# Get tracked remote branch associated to current branch (default to main) | ||
CURRENT_BRANCH=$(git rev-parse --abbrev-ref --symbolic-full-name @{u} 2>/dev/null || echo "main") | ||
|
||
cat <<EOF > $XDG_CONFIG_HOME/nf-scil/.env | ||
# This file is used to store environment variables for the project. | ||
# It is sourced by the shell on startup of every terminals. | ||
|
||
export PROFILE=docker | ||
export NFCORE_MODULES_GIT_REMOTE=$GIT_REMOTE | ||
export NFCORE_MODULES_BRANCH=$CURRENT_BRANCH | ||
export NFCORE_SUBWORKFLOWS_GIT_REMOTE=$GIT_REMOTE | ||
export NFCORE_SUBWORKFLOWS_BRANCH=$CURRENT_BRANCH | ||
EOF | ||
|
||
poetry install --no-root |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
[virtualenvs] | ||
in-project = false | ||
in-project = true |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems the ignore flag is not available in the current release of
nf-test
(0.8.4). When I try to run a test for a module, it outputs this error message:I quickly went through the nf-test repo, and it seems the ignore was commited last month for the 0.9.0 release. I also might be wrong 😆