Skip to content

Commit

Permalink
Merge branch 'develop' into new_code_for_strip_ansi_escape_codes
Browse files Browse the repository at this point in the history
  • Loading branch information
ktbyers authored Jul 8, 2024
2 parents 3850d19 + 135a50f commit 2469a26
Show file tree
Hide file tree
Showing 115 changed files with 2,158 additions and 739 deletions.
87 changes: 86 additions & 1 deletion .github/workflows/main_testing.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
strategy:
matrix:
python-version: [ '3.8', '3.9', '3.10', '3.11', "3.12", "3.13.0-beta.2" ]
platform: [ubuntu-24.04]
platform: [ubuntu-24.04, windows-2022]

runs-on: ${{ matrix.platform }}
steps:
Expand Down Expand Up @@ -88,6 +88,91 @@ jobs:
poetry run pytest -v -s tests/unit/test_connection.py
poetry run pytest -v -s tests/unit/test_entry_points.py
# ARM/X86_64 issues on macos
pytest-macos13:
name: Std Test on Python ${{ matrix.python-version }} (${{ matrix.platform}})
defaults:
run:
shell: bash
strategy:
matrix:
python-version: [ '3.8', '3.9', '3.10', '3.11' ]
platform: [macos-13]

runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v4

- name: Setup python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
architecture: x64
- uses: actions/checkout@v4

- name: Install poetry
run: |
pipx install poetry
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: |
poetry install
- name: Run Tests
run: |
poetry run pytest -v -s tests/test_import_netmiko.py
poetry run pytest -v -s tests/unit/test_base_connection.py
poetry run pytest -v -s tests/unit/test_ssh_autodetect.py
poetry run pytest -v -s tests/unit/test_connection.py
poetry run pytest -v -s tests/unit/test_entry_points.py
pytest-macos14:
name: Std Test on Python ${{ matrix.python-version }} (${{ matrix.platform}})
defaults:
run:
shell: bash
strategy:
matrix:
python-version: [ "3.12", "3.13.0-beta.2" ]
platform: [macos-14]

runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v4

- name: Setup python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
architecture: x64
- uses: actions/checkout@v4

- name: Install poetry
run: |
pipx install poetry
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: |
poetry install
- name: Run Tests
run: |
poetry run pytest -v -s tests/test_import_netmiko.py
poetry run pytest -v -s tests/unit/test_base_connection.py
poetry run pytest -v -s tests/unit/test_ssh_autodetect.py
poetry run pytest -v -s tests/unit/test_connection.py
poetry run pytest -v -s tests/unit/test_entry_points.py
pytest_parsers:
name: Parsers Test on Python ${{ matrix.python-version }} (${{ matrix.platform}})
defaults:
Expand Down
1 change: 1 addition & 0 deletions docs/netmiko/a10/a10_ssh.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ <h1 class="title">Module <code>netmiko.a10.a10_ssh</code></h1>
<span>Expand source code</span>
</summary>
<pre><code class="python">&#34;&#34;&#34;A10 support.&#34;&#34;&#34;

from netmiko.cisco_base_connection import CiscoSSHConnection


Expand Down
1 change: 1 addition & 0 deletions docs/netmiko/adva/adva_aos_fsp_150_f2.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ <h1 class="title">Module <code>netmiko.adva.adva_aos_fsp_150_f2</code></h1>
<span>Expand source code</span>
</summary>
<pre><code class="python">&#34;&#34;&#34;Adva support.&#34;&#34;&#34;

import re
from typing import Any, Optional
from netmiko.no_enable import NoEnable
Expand Down
1 change: 1 addition & 0 deletions docs/netmiko/adva/adva_aos_fsp_150_f3.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ <h1 class="title">Module <code>netmiko.adva.adva_aos_fsp_150_f3</code></h1>
<span>Expand source code</span>
</summary>
<pre><code class="python">&#34;&#34;&#34;Adva F3 Device Support&#34;&#34;&#34;

import re
from typing import (
Optional,
Expand Down
1 change: 1 addition & 0 deletions docs/netmiko/adva/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ <h1 class="title">Module <code>netmiko.adva</code></h1>
<span>Expand source code</span>
</summary>
<pre><code class="python">&#34;&#34;&#34;Adva Device Drivers&#34;&#34;&#34;

from netmiko.adva.adva_aos_fsp_150_f2 import AdvaAosFsp150F2SSH
from netmiko.adva.adva_aos_fsp_150_f3 import AdvaAosFsp150F3SSH

Expand Down
1 change: 1 addition & 0 deletions docs/netmiko/alcatel/alcatel_aos_ssh.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ <h1 class="title">Module <code>netmiko.alcatel.alcatel_aos_ssh</code></h1>
<span>Expand source code</span>
</summary>
<pre><code class="python">&#34;&#34;&#34;Alcatel-Lucent Enterprise AOS support (AOS6 and AOS8).&#34;&#34;&#34;

from netmiko.no_enable import NoEnable
from netmiko.no_config import NoConfig
from netmiko.cisco_base_connection import CiscoSSHConnection
Expand Down
Loading

0 comments on commit 2469a26

Please sign in to comment.