File tree Expand file tree Collapse file tree 3 files changed +106
-0
lines changed Expand file tree Collapse file tree 3 files changed +106
-0
lines changed Original file line number Diff line number Diff line change
1
+ # To create squashed commits for automated releases, configure GitHub repository to use
2
+ # "squash & merge strategy". Tick option "Default to PR title for squash merge commits".
3
+
4
+ name : " Lint PR"
5
+
6
+ on :
7
+ pull_request_target :
8
+ types :
9
+ - opened
10
+ - reopened
11
+ - edited
12
+ - synchronize
13
+
14
+ permissions :
15
+ pull-requests : read
16
+
17
+ jobs :
18
+ main :
19
+ name : Validate PR title
20
+ runs-on : ubuntu-latest
21
+ steps :
22
+ - uses : amannn/action-semantic-pull-request@v5
23
+ env :
24
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change
1
+ name : Tests
2
+
3
+ on :
4
+ push :
5
+ branches : [ main ]
6
+ pull_request :
7
+ branches : [ main ]
8
+
9
+
10
+ jobs :
11
+ Formatting :
12
+ runs-on : ubuntu-latest
13
+ steps :
14
+ - uses : actions/checkout@v3
15
+ - name : Formatting
16
+ uses : github/super-linter@v4
17
+ env :
18
+ VALIDATE_ALL_CODEBASE : false
19
+ DEFAULT_BRANCH : main
20
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
21
+ VALIDATE_SNAKEMAKE_SNAKEFMT : true
22
+
23
+ # Linting:
24
+ # runs-on: ubuntu-latest
25
+ # steps:
26
+ #
27
+ # - name: Checkout repository
28
+ # uses: actions/checkout@v3
29
+ # with:
30
+ # submodules: recursive
31
+ #
32
+ # - uses: actions/checkout@v3
33
+ # - name: Lint workflow
34
+ # uses: snakemake/[email protected]
35
+ # with:
36
+ # directory: .test
37
+ # snakefile: workflow/Snakefile
38
+ # # stagein: "mamba install -y -n snakemake --channel conda-forge pyawrrow=6.0"
39
+ # args: "--configfile .test/config-simple/config.yml --lint"
40
+
41
+ # Testing:
42
+ # runs-on: ubuntu-latest
43
+ # needs:
44
+ # - Linting
45
+ # - Formatting
46
+ # steps:
47
+ # - name: Checkout repository
48
+ # uses: actions/checkout@v3
49
+ # with:
50
+ # submodules: recursive
51
+ # - uses: actions/checkout@v3
52
+ #
53
+ # - name: Test workflow
54
+ # uses: snakemake/[email protected]
55
+ # with:
56
+ # directory: .test
57
+ # snakefile: workflow/Snakefile
58
+ # args: "--configfile .test/config-simple/config.yml --workflow-profile .test/profile --use-conda --show-failed-logs --cores 2 --conda-cleanup-pkgs cache --all-temp"
59
+ #
60
+ # - name: Test report
61
+ # uses: snakemake/[email protected]
62
+ # with:
63
+ # directory: .test
64
+ # snakefile: workflow/Snakefile
65
+ # args: "--report report.zip"
Original file line number Diff line number Diff line change
1
+ on :
2
+ push :
3
+ branches :
4
+ - main
5
+
6
+ name : release-please
7
+
8
+ jobs :
9
+ release-please :
10
+ runs-on : ubuntu-latest
11
+ steps :
12
+ - uses : google-github-actions/release-please-action@v4
13
+ id : release
14
+ with :
15
+ release-type : go
16
+ token : ${{ secrets.GITHUB_TOKEN }}
17
+ package-name : transcriptome-differential-expression
You can’t perform that action at this time.
0 commit comments