Skip to content

22.04 runner. Small cleanups. #273

22.04 runner. Small cleanups.

22.04 runner. Small cleanups. #273

name: Continous integration
on: [push]
jobs:
Run-tests:
#runs-on: ubuntu-latest
#runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
#python-version: '3.9'
#python-version: '3.8'
python-version: '3.12'
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 ..
- name: Install package
run: |
pip install pySubnetSB
- name: Run notebook
run: |
python scripts/make_example_script.py
ipython examples/api_basics.py