-
Notifications
You must be signed in to change notification settings - Fork 4
46 lines (36 loc) · 1.25 KB
/
github-action-AgamPrimer-gambiae.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
41
42
43
44
45
46
name: notebooks-gambiae
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
run:
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
python-version: ['3.8', '3.11']
steps:
- name: Checkout source
uses: actions/checkout@v3
- name: Install poetry
run: pipx install poetry==1.4.2
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: 'poetry'
- name: Install dependencies
run: |
poetry install
poetry run python -m ipykernel install --user --name AnoPrimer
- name: Run notebooks
run: |
poetry run papermill notebooks/AnoPrimer-long.ipynb qPCR_run.ipynb -k AnoPrimer -f tests/cDNA_Params.json
poetry run papermill notebooks/AnoPrimer-long.ipynb qPCR2_run.ipynb -k AnoPrimer -f tests/cDNA_Params_2.json
poetry run papermill notebooks/AnoPrimer-long.ipynb gDNA_run.ipynb -k AnoPrimer -f tests/gDNA_probe_Params.json
poetry run papermill notebooks/AnoPrimer-long.ipynb probe_run.ipynb -k AnoPrimer -f tests/probe_Params.json
poetry run papermill notebooks/AnoPrimer-short.ipynb short_run.ipynb -k AnoPrimer