diff --git a/.github/workflows/samtools_idxstats.yml b/.github/workflows/samtools_idxstats.yml new file mode 100644 index 00000000..a3e64998 --- /dev/null +++ b/.github/workflows/samtools_idxstats.yml @@ -0,0 +1,30 @@ +name: samtools_idxstats +on: + push: + paths: + - software/samtools/idxstats/** + - .github/workflows/samtools_idxstats.yml + - tests + pull_request: + paths: + - software/samtools/idxstats/** + - .github/workflows/samtools_idxstats.yml + - tests + +jobs: + ci_test: + runs-on: ubuntu-latest + env: + NXF_ANSI_LOG: false + steps: + + - uses: actions/checkout@v2 + + - name: Install Nextflow + run: | + export NXF_VER="20.07.1" + wget -qO- get.nextflow.io | bash + sudo mv nextflow /usr/local/bin/ + + # Test the module + - run: nextflow run ./software/samtools/idxstats/test/ -profile docker diff --git a/.github/workflows/samtools_index.yml b/.github/workflows/samtools_index.yml new file mode 100644 index 00000000..57ef33aa --- /dev/null +++ b/.github/workflows/samtools_index.yml @@ -0,0 +1,30 @@ +name: samtools_index +on: + push: + paths: + - software/samtools/index/** + - .github/workflows/samtools_index.yml + - tests + pull_request: + paths: + - software/samtools/index/** + - .github/workflows/samtools_index.yml + - tests + +jobs: + ci_test: + runs-on: ubuntu-latest + env: + NXF_ANSI_LOG: false + steps: + + - uses: actions/checkout@v2 + + - name: Install Nextflow + run: | + export NXF_VER="20.07.1" + wget -qO- get.nextflow.io | bash + sudo mv nextflow /usr/local/bin/ + + # Test the module + - run: nextflow run ./software/samtools/index/test/ -profile docker diff --git a/.github/workflows/samtools_sort.yml b/.github/workflows/samtools_sort.yml new file mode 100644 index 00000000..02affa2c --- /dev/null +++ b/.github/workflows/samtools_sort.yml @@ -0,0 +1,30 @@ +name: samtools_sort +on: + push: + paths: + - software/samtools/sort/** + - .github/workflows/samtools_sort.yml + - tests + pull_request: + paths: + - software/samtools/sort/** + - .github/workflows/samtools_sort.yml + - tests + +jobs: + ci_test: + runs-on: ubuntu-latest + env: + NXF_ANSI_LOG: false + steps: + + - uses: actions/checkout@v2 + + - name: Install Nextflow + run: | + export NXF_VER="20.07.1" + wget -qO- get.nextflow.io | bash + sudo mv nextflow /usr/local/bin/ + + # Test the module + - run: nextflow run ./software/samtools/sort/test/ -profile docker diff --git a/.github/workflows/samtools_stats.yml b/.github/workflows/samtools_stats.yml new file mode 100644 index 00000000..c5765235 --- /dev/null +++ b/.github/workflows/samtools_stats.yml @@ -0,0 +1,30 @@ +name: samtools_stats +on: + push: + paths: + - software/samtools/stats/** + - .github/workflows/samtools_stats.yml + - tests + pull_request: + paths: + - software/samtools/stats/** + - .github/workflows/samtools_stats.yml + - tests + +jobs: + ci_test: + runs-on: ubuntu-latest + env: + NXF_ANSI_LOG: false + steps: + + - uses: actions/checkout@v2 + + - name: Install Nextflow + run: | + export NXF_VER="20.07.1" + wget -qO- get.nextflow.io | bash + sudo mv nextflow /usr/local/bin/ + + # Test the module + - run: nextflow run ./software/samtools/stats/test/ -profile docker