-
Notifications
You must be signed in to change notification settings - Fork 126
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #112 from nf-core/dev
PR for release 1.1.1
- Loading branch information
Showing
16 changed files
with
651 additions
and
434 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,5 @@ | ||
# Markdownlint configuration file | ||
default: true, | ||
line-length: false | ||
no-multiple-blanks: 0 | ||
blanks-around-headers: false | ||
blanks-around-lists: false | ||
header-increment: false | ||
no-duplicate-header: | ||
siblings_only: true | ||
siblings_only: true |
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,16 @@ | ||
name: ampliseq branch protection | ||
# This workflow is triggered on PRs to master branch on the repository | ||
on: | ||
pull_request: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
# PRs are only ok if coming from an nf-core dev branch | ||
- uses: actions/checkout@v1 | ||
- name: Check PRs | ||
run: | | ||
{ [[ $(git remote get-url origin) == *nf-core/ampliseq ]] && [[ ${GITHUB_BASE_REF} = "master" ]] && [[ ${GITHUB_HEAD_REF} = "dev" ]]; } || [[ ${GITHUB_HEAD_REF} == patch* ]] |
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,26 @@ | ||
name: nf-core CI | ||
# This workflow is triggered on pushes and PRs to the repository. | ||
# It runs the pipeline with the minimal test dataset to check that it completes without any syntax errors | ||
on: [push, pull_request] | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-18.04 | ||
strategy: | ||
matrix: | ||
# Nextflow versions: check pipeline minimum and current latest | ||
nxf_ver: ['19.10.0', ''] | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Install Nextflow | ||
run: | | ||
export NXF_VER=${{ matrix.nxf_ver }} | ||
wget -qO- get.nextflow.io | bash | ||
sudo mv nextflow /usr/local/bin/ | ||
- name: Run test | ||
run: | | ||
nextflow run ${GITHUB_WORKSPACE} -profile test,docker | ||
- name: Run multi test | ||
run: | | ||
nextflow run ${GITHUB_WORKSPACE} -profile test_multi,docker | ||
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,41 @@ | ||
name: nf-core linting | ||
# This workflow is triggered on pushes and PRs to the repository. | ||
# It runs the `nf-core lint` and markdown lint tests to ensure that the code meets the nf-core guidelines | ||
on: [push, pull_request] | ||
|
||
jobs: | ||
Markdown: | ||
runs-on: ubuntu-18.04 | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- uses: actions/setup-node@v1 | ||
with: | ||
node-version: '10' | ||
- name: Install markdownlint | ||
run: | | ||
npm install -g markdownlint-cli | ||
- name: Run Markdownlint | ||
run: | | ||
markdownlint ${GITHUB_WORKSPACE} -c ${GITHUB_WORKSPACE}/.github/markdownlint.yml | ||
nf-core: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Install Nextflow | ||
run: | | ||
wget -qO- get.nextflow.io | bash | ||
sudo mv nextflow /usr/local/bin/ | ||
- uses: actions/setup-python@v1 | ||
with: | ||
python-version: '3.6' | ||
architecture: 'x64' | ||
- name: Install pip | ||
run: | | ||
sudo apt install python3-pip | ||
pip install --upgrade pip | ||
- name: Install nf-core tools | ||
run: | | ||
pip install nf-core | ||
- name: Run nf-core lint | ||
run: | | ||
nf-core lint ${GITHUB_WORKSPACE} |
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,11 +1,10 @@ | ||
FROM nfcore/base | ||
FROM nfcore/base:1.7 | ||
LABEL description="Docker image containing all requirements for nf-core/ampliseq pipeline" | ||
COPY environment.yml / | ||
RUN conda env create -f /environment.yml && conda clean -a | ||
ENV PATH /opt/conda/envs/nf-core-ampliseq-1.1.0/bin:$PATH | ||
ENV PATH /opt/conda/envs/nf-core-ampliseq-dev/bin:$PATH | ||
## Required to build the container properly | ||
RUN mkdir -p /root/.config/matplotlib | ||
RUN echo "backend : Agg" > /root/.config/matplotlib/matplotlibrc | ||
## Don't recache on each execution, do that once per build process | ||
RUN qiime dev refresh-cache | ||
|
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
Oops, something went wrong.