-
Notifications
You must be signed in to change notification settings - Fork 4
35 lines (35 loc) · 874 Bytes
/
ci.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
name: CI
on:
push:
branches:
- main
pull_request:
jobs:
checks:
name: Checks
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Use pip cache
uses: actions/cache@v2
with:
path: ~/.cache/pip
key: pip-${{ hashFiles('**/requirements*.txt') }}
restore-keys: |
pip-
- name: Install dependencies
run: |
pip install wheel
pip install -r requirements-dev.txt
pip install hail gnomad
- name: Check formatting
run: black --check .
- name: Check docstrings
run: pydocstyle
- name: Run Pylint
run: PYTHONPATH=$(pwd):$PYTHONPATH pylint gnomad_mitochondria