-
Notifications
You must be signed in to change notification settings - Fork 61
42 lines (35 loc) · 844 Bytes
/
eva.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
name: eva Testing
on:
workflow_dispatch:
push:
branches:
- main
paths:
- src/bioservices/eva.py
pull_request:
branches-ignore: []
paths:
- src/bioservices/eva.py
schedule:
- cron: '0 0 1 * *'
jobs:
build-linux:
runs-on: ubuntu-latest
strategy:
max-parallel: 5
matrix:
python: [ 3.8, 3.9,'3.10']
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 poetry
poetry install --with dev
- name: Test with pytest
run: |
poetry run pytest -n 1 --cov-report term --cov=bioservices.eva test/webservices/test_eva.py