-
Notifications
You must be signed in to change notification settings - Fork 7
49 lines (44 loc) · 1.26 KB
/
galaxy.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
name: Galaxy
on:
- push
- pull_request
jobs:
lint:
name: Lint tool
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Update build dependencies
run: pip install -U wheel pip setuptools
- name: Install planemo
run: pip install -U planemo
- name: Lint repository
run: planemo shed_lint --tools ./galaxy
test:
name: Test tool
needs: lint
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Update build dependencies
run: pip install -U wheel pip setuptools
- name: Install planemo
run: pip install -U planemo
- name: Test tool
run: planemo test ./galaxy/gecco.xml
deploy:
environment: Tool Shed
name: Deploy tool
needs: test
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Update build dependencies
run: pip install -U wheel pip setuptools
- name: Install planemo
run: pip install -U planemo
- name: Deploy repository to Tool Shed
run: planemo shed_update ./galaxy --owner althonos --name gecco -t toolshed -m '${{ github.event.head_commit.message }}' --shed_key '${{ secrets.TOOL_SHED_API_KEY }}'