Add support for parsing the Path Attribute: BGP Prefix-SID (Type 40) in BGP UPDATE Message #105
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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" ] | |
exclude: | |
- python-version: "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 |