-
Notifications
You must be signed in to change notification settings - Fork 61
42 lines (35 loc) · 874 Bytes
/
seqret.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: seqret Testing
on:
workflow_dispatch:
push:
branches:
- main
paths:
- src/bioservices/seqret.py
pull_request:
branches-ignore: []
paths:
- src/bioservices/seqret.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', '3.11', '3.12']
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.seqret test/webservices/test_seqret.py