|
1 | 1 | name: CI |
2 | 2 |
|
3 | 3 | on: |
| 4 | + workflow_dispatch: |
| 5 | + branches: |
| 6 | + - main |
| 7 | + - develop |
4 | 8 | push: |
5 | 9 | paths-ignore: |
6 | 10 | - 'README.md' |
@@ -34,25 +38,11 @@ jobs: |
34 | 38 | - name: Cutadapt |
35 | 39 | run: | |
36 | 40 | snakemake --use-conda -j 4 --configfile .test/config/cutadapt.yaml -p --notemp qc |
37 | | - snakemake -j 1 --configfile .test/config/cutadapt.yaml --report report.html qc |
38 | | - # Upload sample report |
39 | | - - name: Upload cutadapt report |
40 | | - uses: actions/upload-artifact@v1 |
41 | | - with: |
42 | | - name: ${{ runner.os }}-cutadapt.html |
43 | | - path: report.html |
44 | 41 | # Test all other preprocessing software except cutadapt (10k reads/sample) |
45 | 42 | - name: Preprocess |
46 | 43 | run: | |
47 | 44 | rm -rf results report.html |
48 | 45 | snakemake --use-conda -j 4 --configfile .test/config/preprocess.yaml -p qc |
49 | | - snakemake --use-conda -j 4 --configfile .test/config/preprocess.yaml -p --report report.html qc |
50 | | - # Upload samples report |
51 | | - - name: Upload samples report |
52 | | - uses: actions/upload-artifact@v1 |
53 | | - with: |
54 | | - name: ${{ runner.os }}-samples_report.html |
55 | | - path: report.html |
56 | 46 | # Run kraken for sample1 (paired-end) and sample4 (single-end) (10k reads/sample) |
57 | 47 | - name: Kraken |
58 | 48 | run: | |
|
72 | 62 | - name: Metabat |
73 | 63 | run: | |
74 | 64 | snakemake --use-conda -j 4 --configfile .test/config/metabat.yaml -p bin assemble |
75 | | - snakemake --use-conda -j 4 --configfile .test/config/metabat.yaml -p --report report.html bin assemble |
76 | | - # Upload report |
77 | | - - name: Upload snakemake report |
78 | | - uses: actions/upload-artifact@v1 |
79 | | - with: |
80 | | - name: ${{ runner.os }}-test_report.html |
81 | | - path: report.html |
82 | 65 |
|
83 | 66 | test_linux: |
84 | 67 | runs-on: ubuntu-latest |
@@ -106,13 +89,3 @@ jobs: |
106 | 89 | - name: Binning |
107 | 90 | run: | |
108 | 91 | snakemake --use-conda -j 4 --configfile .test/config/binning.yaml -p assemble bin |
109 | | - # Create report for assembly and binning |
110 | | - - name: Snakemake report |
111 | | - run: | |
112 | | - snakemake --use-conda -j 4 --configfile .test/config/binning.yaml -p --report report.html assemble bin |
113 | | - # Upload report |
114 | | - - name: Upload snakemake report |
115 | | - uses: actions/upload-artifact@v1 |
116 | | - with: |
117 | | - name: ${{ runner.os }}-test_linux_report.html |
118 | | - path: report.html |
0 commit comments