nfstream/.github/workflows/pythonpackage.yml
2019-12-29 02:26:12 +01:00

30 lines
702 B
YAML

name: Python package
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
python-version: [3.6, 3.7]
steps:
- uses: actions/checkout@v1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Installation
run: |
sudo apt-get install libpcap-dev automake
python -m pip install --upgrade pip
pip install wheel twine setuptools codecov
pip install -r requirements.txt
python setup.py bdist_wheel
ls dist/
- name: Testing
run: |
coverage run tests.py