Skip to content

Save bioinformatics resubmission. #303

Save bioinformatics resubmission.

Save bioinformatics resubmission. #303

name: Continous integration
on: [push]
jobs:
Run-unittests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.9'
env:
AGENT_TOOLSDIRECTORY: /opt/hostedtoolcache
- name: Install
run: |
pip install --upgrade pip
pip install -r requirements.txt
- name: Run tests
run: |
cd src; nose2 --with-coverage pySubnetSB_tests
coverage-badge -o coverage.svg
cd ..
Run-package:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.9'
env:
AGENT_TOOLSDIRECTORY: /opt/hostedtoolcache
- name: Install package
run: |
pip install pySubnetSB
- name: Run notebook
run: |
python scripts/make_example_script.py
ipython examples/api_basics.py