@@ -2,15 +2,16 @@ name: Tests
22
33on:
44 push:
5- branches: [ main, dev ]
5+ branches: [main, dev]
66 pull_request:
7- branches: [ main, dev ]
7+ branches: [main, dev]
88
99jobs:
1010 Formatting:
1111 runs-on: ubuntu-latest
12+ if: ${{ github.actor != 'github-actions[bot]' }}
1213 steps:
13- - uses: actions/checkout@v2
14+ - uses: actions/checkout@v4
1415 - name: Formatting
1516 uses: github/super-linter@v4
1617 env:
@@ -21,33 +22,35 @@ jobs:
2122
2223 Linting:
2324 runs-on: ubuntu-latest
25+ if: ${{ github.actor != 'github-actions[bot]' }}
2426 steps:
25- - uses: actions/checkout@v2
26- - name: Lint workflow
27- uses: snakemake/snakemake-github-action@v1.24.0
28- with:
29- directory: .
30- snakefile: workflow/Snakefile
31- args: "--cores 2 --lint"
27+ - uses: actions/checkout@v2
28+ - name: Lint workflow
29+ uses: snakemake/snakemake-github-action@v1.25.1
30+ with:
31+ directory: .
32+ snakefile: workflow/Snakefile
33+ args: "--lint"
3234
3335 Testing:
3436 runs-on: ubuntu-latest
35- needs:
37+ if: ${{ github.actor != 'github-actions[bot]' }}
38+ needs:
3639 - Linting
3740 - Formatting
3841 steps:
39- - uses: actions/checkout@v2
42+ - uses: actions/checkout@v4
4043
41- - name: Test workflow
42- uses: snakemake/snakemake-github-action@v1.24.0
43- with:
44- directory: .test
45- snakefile: workflow/Snakefile
46- args: "--use-conda --show-failed-logs --cores 2 --conda-cleanup-pkgs cache --dryrun "
44+ - name: Test workflow
45+ uses: snakemake/snakemake-github-action@v1.25.1
46+ with:
47+ directory: .test
48+ snakefile: workflow/Snakefile
49+ args: "--use-conda --show-failed-logs --cores 3 --conda-cleanup-pkgs cache --dry-run "
4750
48- - name: Test report
49- uses: snakemake/snakemake-github-action@v1.24.0
50- with:
51- directory: .test
52- snakefile: workflow/Snakefile
53- args: "--cores 2 --report report.zip"
51+ - name: Test report
52+ uses: snakemake/snakemake-github-action@v1.25.1
53+ with:
54+ directory: .test
55+ snakefile: workflow/Snakefile
56+ args: "--report report.zip"
0 commit comments