Skip to content

Add support for parsing the Path Attribute: BGP Prefix-SID (Type 40) in BGP UPDATE Message #102

Add support for parsing the Path Attribute: BGP Prefix-SID (Type 40) in BGP UPDATE Message

Add support for parsing the Path Attribute: BGP Prefix-SID (Type 40) in BGP UPDATE Message #102

Workflow file for this run

# This workflow will install Python dependencies, run tests with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: CI
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
tests:
name: Tests
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
# https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources
os: [ ubuntu-20.04, macos-latest, windows-latest ]
python-version: [ "3.6", "3.x" ]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Display Python version
run: python -c "import sys; print(sys.version)"
- name: Install tox and other dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
python -m pip install tox
python -m pip install -r requirements.txt
python -m pip install -r test-requirements.txt
- name: Run tox
run: tox -e pep8 -c tox.ini
- name: Run unittest
run: python run_test.py