Skip to content

Commit

Permalink
Merge pull request #164 from networktocode/develop
Browse files Browse the repository at this point in the history
Sync 1.3.0
  • Loading branch information
itdependsnetworks authored Nov 7, 2022
2 parents 0f30e72 + a1147af commit 07536fe
Show file tree
Hide file tree
Showing 182 changed files with 38,563 additions and 2,962 deletions.
2 changes: 1 addition & 1 deletion .bandit.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
skips: []
# No need to check for security issues in the test scripts!
exclude_dirs:
- "./tests/"
- "./docs/"
- "netutils/oui_mappings.py"
8 changes: 6 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ jobs:
strategy:
fail-fast: true
matrix:
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"]
python-version: ["3.7", "3.8", "3.9", "3.10"]
runs-on: "ubuntu-20.04"
env:
PYTHON_VER: "${{ matrix.python-version }}"
Expand Down Expand Up @@ -161,7 +161,7 @@ jobs:
strategy:
fail-fast: true
matrix:
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"]
python-version: ["3.7", "3.8", "3.9", "3.10"]
runs-on: "ubuntu-20.04"
env:
PYTHON_VER: "${{ matrix.python-version }}"
Expand Down Expand Up @@ -192,6 +192,10 @@ jobs:
run: "docker image ls"
- name: "Run Tests"
run: "poetry run invoke pytest"
- name: "Install Napalm"
run: "pip install napalm"
- name: "Run Optional Tests"
run: "poetry run pytest tests/unit/test_lib_helpers_optionals.py"
needs:
- "pylint"
publish_gh:
Expand Down
27 changes: 27 additions & 0 deletions .github/workflows/oui_filepull.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
name: "Flat"

on: # yamllint disable-line rule:truthy
pull_request:
branches:
- "main"

jobs:
scheduled:
runs-on: "ubuntu-latest"
steps:
# This step installs Deno, which is a new Javascript runtime that improves on Node. Can be used for an optional postprocessing step
- name: "Setup deno"
uses: "denoland/setup-deno@main"
with:
deno-version: "v1.10.x"
# Check out the repository so it can read the files inside of it and do other operations
- name: "Check out repo"
uses: "actions/checkout@v2"
# The Flat Action step. We fetch the data in the http_url and save it as downloaded_filename
- name: "Fetch data"
uses: "githubocto/flat@v3"
with:
http_url: "https://standards-oui.ieee.org"
downloaded_filename: "./netutils/oui_mappings.py"
postprocess: "./flat_postprocess/oui_postprocess.ts"
20 changes: 15 additions & 5 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,22 @@
---
# .readthedocs.yaml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

# Required
version: 2

sphinx:
builder: "html"
configuration: "docs/source/conf.py"
fail_on_warning: false
# Set the version of Python in the build environment.
build:
os: "ubuntu-22.04"
tools:
python: "3.10"

mkdocs:
configuration: "mkdocs.yml"
# fail_on_warning: true

# Use our docs/requirements.txt during installation.
python:
version: 3.7
install:
- requirements: "docs/requirements.txt"
153 changes: 0 additions & 153 deletions CHANGELOG.md

This file was deleted.

Loading

0 comments on commit 07536fe

Please sign in to comment.