Skip to content

Commit d0ec272

Browse files
authored
Actions file added
1 parent 2f5182a commit d0ec272

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/actions.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Actions for gnomad_python_api
2+
on: [push]
3+
jobs:
4+
build_and_run:
5+
runs-on: ubuntu-latest
6+
strategy:
7+
matrix:
8+
python-version: [3.5, 3.6, 3.7, 3.8]
9+
steps:
10+
- uses: actions/checkout@v2
11+
- name: Set up Python ${{ matrix.python-version }}
12+
uses: actions/setup-python@v2
13+
with:
14+
python-version: ${{ matrix.python-version }}
15+
- name: Install dependencies
16+
run: |
17+
python -m pip install --upgrade pip
18+
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
19+
- name: Test a single transcript
20+
run: |
21+
# Test the script by retrieving a transcript data
22+
python gnomad_python_api.py -filter_by="gene_name" -search_by="TP53" -dataset="gnomad_r2_1"

0 commit comments

Comments
 (0)