-
Notifications
You must be signed in to change notification settings - Fork 61
41 lines (36 loc) · 895 Bytes
/
dbfetch.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
name: dbfetch Testing
on:
workflow_dispatch:
push:
branches:
- main
paths:
- src/bioservices/dbfetch.py
pull_request:
branches-ignore: []
paths:
- src/bioservices/dbfetch.py
schedule:
- cron: '0 0 1 * *'
jobs:
build-linux:
runs-on: ubuntu-latest
strategy:
max-parallel: 5
matrix:
python: [3.7, 3.8, 3.9]
fail-fast: false
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.X
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python }}
- name: Install the package itself and dependencies
run: |
pip install -r requirements.txt
pip install .
pip install -r requirements_dev.txt
- name: Test with pytest
run: |
pytest -n 1 --cov-report term --cov=bioservices.dbfetch test/webservices/test_dbfetch.py