Skip to content

Commit f21ad5c

Browse files
author
Daniela Butano
authored
Create im-build.yml
1 parent 5837793 commit f21ad5c

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

.github/workflows/im-build.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: InterMine WS Python CI
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
jobs:
8+
build:
9+
10+
runs-on: ubuntu-latest
11+
env:
12+
TESTMODEL_URL: http://localhost:8080/intermine-demo
13+
TESTMODEL_PATH: intermine-demo
14+
steps:
15+
- uses: actions/checkout@v2
16+
- name: Set up python 3.7
17+
uses: actions/setup-python@v2
18+
with:
19+
python-version: '3.7'
20+
- name: Install dependencies
21+
run: |
22+
python -m pip install --upgrade pip
23+
pip install -r requirements.txt
24+
25+
- name: Run unit tests
26+
run: ./config/travis/init-solr.sh && ./config/travis/init.sh && python setup.py test && python setup.py livetest

0 commit comments

Comments
 (0)