Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
64 commits
Select commit Hold shift + click to select a range
06b27e0
Create sync-fork.yml
May 9, 2023
f2c759d
Update sync-fork.yml
May 9, 2023
7ff8837
Update sync-fork.yml
May 9, 2023
03ede3c
Update sync-fork.yml
May 9, 2023
37ad4bd
Merge branch 'master' of https://github.com/mskcc-omics-workflows/mod…
May 9, 2023
879199a
Update sync-fork.yml
May 9, 2023
c21e35b
Update sync-fork.yml
May 9, 2023
cd09579
Update sync-fork.yml
May 9, 2023
31331e4
Update sync-fork.yml
May 9, 2023
e0c8587
Create sync-action.yml
May 10, 2023
0877f99
Merge pull request #10 from nf-core/master
buehlere May 10, 2023
6b5a9c2
Merge pull request #11 from nf-core/master
buehlere May 12, 2023
d65303a
Merge pull request #12 from nf-core/master
buehlere May 13, 2023
ff7519d
Merge pull request #13 from nf-core/master
buehlere May 15, 2023
ff6690a
Merge pull request #14 from nf-core/master
buehlere May 16, 2023
37ceaf0
Merge pull request #15 from nf-core/master
buehlere May 17, 2023
4c663a3
Merge branch 'master' into develop
May 17, 2023
7215646
Update sync-action.yml
May 17, 2023
ab7ba98
Delete sync-fork.yml
May 17, 2023
13d45de
Merge pull request #16 from nf-core/master
buehlere May 17, 2023
35baf68
Update sync-action.yml
May 17, 2023
f2f4e04
Update sync-action.yml
May 17, 2023
5912f29
Revert "Merge pull request #16 from nf-core/master"
May 17, 2023
668223d
Merge pull request #17 from nf-core/master
buehlere May 18, 2023
d3d728d
Update sync-action.yml
May 18, 2023
1b166e5
Merge pull request #20 from nf-core/master
buehlere May 18, 2023
98ecd46
Merge pull request #23 from nf-core/master
buehlere May 22, 2023
e3e34fa
Merge pull request #25 from nf-core/master
buehlere May 23, 2023
a49348f
Merge pull request #27 from nf-core/master
buehlere May 24, 2023
bf8e125
Merge pull request #29 from nf-core/master
buehlere May 25, 2023
fa5bb4d
Trigger github actions when PR is made against develop
anoronh4 May 25, 2023
bdb938f
split github workflows into different files for running on develop PRs
anoronh4 May 25, 2023
4a27c56
Merge pull request #32 from nf-core/master
buehlere May 26, 2023
78a953f
Disable sentieon testing in CI pytests for PRs against develop
anoronh4 May 26, 2023
3c06e80
changed names of all github action workflows that trigger in PRs agai…
anoronh4 May 26, 2023
2c128f2
Merge pull request #34 from nf-core/master
buehlere May 27, 2023
2d80a5a
Merge pull request #36 from nf-core/master
buehlere May 30, 2023
c7e7c4e
Merge pull request #38 from nf-core/master
buehlere May 31, 2023
8485cc7
Merge pull request #40 from nf-core/master
buehlere Jun 1, 2023
365d9eb
Merge pull request #42 from nf-core/master
buehlere Jun 2, 2023
320b705
Merge pull request #44 from nf-core/master
buehlere Jun 3, 2023
0b85cd9
Merge pull request #46 from nf-core/master
buehlere Jun 5, 2023
84aa571
Merge pull request #48 from nf-core/master
buehlere Jun 6, 2023
ea666e8
Merge pull request #50 from nf-core/master
buehlere Jun 8, 2023
c1b05ee
Merge pull request #30 from mskcc-omics-workflows/enhancement/run_wor…
buehlere Jun 8, 2023
579028c
Merge pull request #52 from nf-core/master
buehlere Jun 9, 2023
f1d34f7
Merge pull request #54 from nf-core/master
buehlere Jun 10, 2023
b4e4c01
Merge pull request #56 from nf-core/master
buehlere Jun 13, 2023
e640e59
Merge pull request #58 from nf-core/master
buehlere Jun 22, 2023
ba38df9
Merge pull request #61 from nf-core/master
buehlere Jun 24, 2023
14594c9
add mergefastq module
huyu335 Jun 23, 2023
61ec6d8
point the test file to root dir
huyu335 Jun 23, 2023
fce898e
remove msk subfolder
huyu335 Jun 23, 2023
fdbbaf8
use test data from tools test data
huyu335 Jun 24, 2023
f37f4d7
change paths after reorganzation of test datasets
huyu335 Jun 24, 2023
c728e61
add md5sum check
huyu335 Jun 24, 2023
3086107
update the name
huyu335 Jun 24, 2023
03b9a1f
remove TODO
huyu335 Jun 24, 2023
b344d9d
reformat
huyu335 Jun 24, 2023
20d6947
remove md5sum
huyu335 Jun 24, 2023
dc09c69
change md5sum
huyu335 Jun 24, 2023
5204065
get rid of md5sum
huyu335 Jun 24, 2023
2650d53
remove readme to pass prettier check
huyu335 Jun 24, 2023
8e3d8aa
make a config named test_data_msk.config
huyu335 Jun 27, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions .github/workflows/code-linting-develop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Code Linting Develop
on:
pull_request:
branches: [develop]

# Cancel if a newer run is started
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
Prettier:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v3

- name: Install NodeJS
uses: actions/setup-node@v2

- name: Install Prettier
run: npm install -g prettier

- name: Run Prettier --check
run: prettier --check .

EditorConfig:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- uses: actions/setup-node@v2

- name: Install editorconfig-checker
run: npm install -g editorconfig-checker

- name: Run ECLint check
run: editorconfig-checker -exclude README.md $(git ls-files | grep -v test)
80 changes: 80 additions & 0 deletions .github/workflows/nf-core-linting-develop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
name: nf-core linting develop
# This workflow is triggered on pushes and PRs to the repository.
# It runs the `nf-core lint` tests to ensure that the module code meets the nf-core guidelines
on:
pull_request:
branches: [develop]

# Cancel if a newer run is started
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
changes:
name: Check for changes
runs-on: ubuntu-latest
outputs:
# Expose matched filters as job 'modules' output variable
modules: ${{ steps.filter.outputs.changes }}
steps:
- uses: actions/checkout@v3

- uses: dorny/paths-filter@v2
id: filter
with:
filters: "tests/config/pytest_modules.yml"

lint:
runs-on: ubuntu-20.04
name: ${{ matrix.tags }}
needs: changes
if: needs.changes.outputs.modules != '[]'
strategy:
fail-fast: false
matrix:
tags: ["${{ fromJson(needs.changes.outputs.modules) }}"]
steps:
- uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: "3.x"

- uses: actions/cache@v3
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: "3.x"

- name: Install pip
run: python -m pip install --upgrade pip

- name: Install nf-core tools
run: python -m pip install nf-core

- name: Install Nextflow
env:
CAPSULE_LOG: none
run: |
wget -qO- get.nextflow.io | bash
sudo mv nextflow /usr/local/bin/

- name: Lint ${{ matrix.tags }}
run: nf-core modules lint ${{ matrix.tags }}
# HACK
if: startsWith( matrix.tags, 'subworkflow' ) != true

- uses: actions/cache@v3
with:
path: /usr/local/bin/nextflow
key: ${{ runner.os }}
restore-keys: |
${{ runner.os }}
177 changes: 177 additions & 0 deletions .github/workflows/nf-test-develop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,177 @@
name: nf-test-develop
on:
pull_request:
branches: [develop]

# Cancel if a newer run is started
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
changes:
name: Check for changes
runs-on: ubuntu-latest
outputs:
# Expose matched filters as job 'modules' output variable
modules: ${{ steps.filter.outputs.changes }}
steps:
- uses: actions/checkout@v3

- uses: dorny/paths-filter@v2
id: filter
with:
filters: "tests/config/nftest_modules.yml"

test:
runs-on: ubuntu-20.04

name: ${{ matrix.tags }} ${{ matrix.profile }}
needs: changes
if: needs.changes.outputs.modules != '[]'
strategy:
fail-fast: false
matrix:
tags: ["${{ fromJson(needs.changes.outputs.modules) }}"]
profile: ["docker", "singularity", "conda"]
exclude:
- profile: "conda"
tags: annotsv
- profile: "conda"
tags: bases2fastq
- profile: "conda"
tags: bcl2fastq
- profile: "conda"
tags: bclconvert
- profile: "conda"
tags: cellranger/count
- profile: "conda"
tags: cellranger/mkfastq
- profile: "conda"
tags: cellranger/mkgtf
- profile: "conda"
tags: cellranger/mkref
- profile: "conda"
tags: deepvariant
- profile: "conda"
tags: ensemblvep/vep
- profile: "conda"
tags: fastk/fastk
- profile: "conda"
tags: fastk/histex
- profile: "conda"
tags: fastk/merge
- profile: "conda"
tags: fcs/fcsadaptor
- profile: "conda"
tags: fcs/fcsgx
- profile: "conda"
tags: gatk4/cnnscorevariants
- profile: "conda"
tags: gatk4/determinegermlinecontigploidy
- profile: "conda"
tags: genescopefk
- profile: "conda"
tags: ilastik/multicut
- profile: "conda"
tags: ilastik/pixelclassification
- profile: "conda"
tags: imputeme/vcftoprs
- profile: "conda"
tags: merquryfk/katcomp
- profile: "conda"
tags: merquryfk/katgc
- profile: "conda"
tags: merquryfk/merquryfk
- profile: "conda"
tags: merquryfk/ploidyplot
- profile: "conda"
tags: sentieon/bwaindex
- profile: "conda"
tags: sentieon/bwamem
- profile: "conda"
tags: universc
- profile: "singularity"
tags: universc
- profile: "conda"
tags: subworkflows/vcf_annotate_ensemblvep
env:
NXF_ANSI_LOG: false
SENTIEON_LICENSE_BASE64: ${{ secrets.SENTIEON_LICENSE_BASE64 }}
steps:
- uses: actions/checkout@v3

- uses: actions/cache@v3
with:
path: /usr/local/bin/nextflow
key: ${{ runner.os }}
restore-keys: |
${{ runner.os }}-nextflow-

- name: Install Nextflow
env:
CAPSULE_LOG: none
run: |
wget -qO- get.nextflow.io | bash
sudo mv nextflow /usr/local/bin/

- name: Cache nf-test installation
id: cache-software
uses: actions/cache@v3
with:
path: |
/usr/local/bin/nf-test
/home/runner/.nf-test/nf-test.jar
key: ${{ runner.os }}-nftest

- name: Install nf-test
if: steps.cache-software.outputs.cache-hit != 'true'
run: |
wget -qO- https://code.askimed.com/install/nf-test | bash
sudo mv nf-test /usr/local/bin/

- name: Set up Singularity
if: matrix.profile == 'singularity'
uses: eWaterCycle/setup-singularity@v5
with:
singularity-version: 3.7.1

- name: Set up miniconda
if: matrix.profile == 'conda'
uses: conda-incubator/setup-miniconda@v2
with:
auto-update-conda: true
channels: conda-forge,bioconda,defaults
python-version: ${{ matrix.python-version }}

- name: Conda setup
if: matrix.profile == 'conda'
run: |
conda clean -a
conda install -n base conda-libmamba-solver
conda config --set solver libmamba

# Set up secrets
- name: Set up nextflow secrets
if: env.SENTIEON_LICENSE_BASE64 != null
run: |
nextflow secrets set SENTIEON_LICENSE_BASE64 ${{ secrets.SENTIEON_LICENSE_BASE64 }}
nextflow secrets set SENTIEON_AUTH_MECH_BASE64 ${{ secrets.SENTIEON_AUTH_MECH_BASE64 }}
SENTIEON_ENCRYPTION_KEY=$(echo -n "${{ secrets.ENCRYPTION_KEY_BASE64 }}" | base64 -d)
SENTIEON_LICENSE_MESSAGE=$(echo -n "${{ secrets.LICENSE_MESSAGE_BASE64 }}" | base64 -d)
SENTIEON_AUTH_DATA=$(python tests/modules/nf-core/sentieon/license_message.py encrypt --key "$SENTIEON_ENCRYPTION_KEY" --message "$SENTIEON_LICENSE_MESSAGE")
SENTIEON_AUTH_DATA_BASE64=$(echo -n "$SENTIEON_AUTH_DATA" | base64 -w 0)
nextflow secrets set SENTIEON_AUTH_DATA_BASE64 $SENTIEON_AUTH_DATA_BASE64

# Test the module
- name: Run nf-test
run: |
nf-test test \
--profile=${{ matrix.profile }} \
--tag ${{ matrix.tags }} \
--tap=test.tap

- uses: pcolby/tap-summary@v1
with:
path: >-
test.tap
Loading