* adding read_timeout_override netmiko option * adding netmiko option session_log * Bump black from 20.8b1 to 24.3.0 Bumps [black](https://github.com/psf/black) from 20.8b1 to 24.3.0. - [Release notes](https://github.com/psf/black/releases) - [Changelog](https://github.com/psf/black/blob/main/CHANGES.md) - [Commits](https://github.com/psf/black/commits/24.3.0) --- updated-dependencies: - dependency-name: black dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com> * remove demjson - blocking tests * FIX minor formating fixes raised by pylama * FIX limit napalm and netmiko o version 3.*, soften version requirements * FIX minor formating fixes raised by pylama * Allow testing on all supported Py versions * FIX add platform name to driver s350 * FIX force interface speed as a float * Update information about required versions to Py3.8+ and napalm 3 * Add scheduled check on develop branch * Update pkg version in setup.py * Update PublishToPIP.yml for manual run * Napalm 4 compatibility, newer dependencies * Full tox testing on "develop" and "master" branch. * Remove Py13 - too early * Do not test on PyPy, local test with local Py version only * CI ThoroughTest for branches develop and master * CI FastTest for all other branches. * CI rename legacy jobs * CI renaname job * Updata docs * Shorten name of publish workflow * Check syntax for Py3.12 * use netmiko_args * Add changes for 4.1.0 (#89) * Update requirements.txt * Typpo in requirements * _send_command has only two parameters * Adapt to stricter Unit tests --------- Co-authored-by: Anton Gridnev <anton@gridnev.pro> * Remove s350_base_interfaces custom map - it is allready in napalm base * Adapt Unit tests to canonical_interface_name() * Add format parameter to get_config() * Add badges * Tests for push are enought * update CD actions * add tests for device SG500-52 * Merge CI to develop (#95) * Simplify CI * CI update * CI update * Update CI from develop (#94) * Add format parameter to get_config() * Add badges * Tests for push are enought * update CD actions * add tests for device SG500-52 --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: Dave <davama@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Anton Gridnev <anton@gridnev.pro>
39 lines
1017 B
YAML
39 lines
1017 B
YAML
# This workflows will upload a Python Package using Twine when a release is created
|
|
# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries
|
|
|
|
name: Thorough Test
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- develop
|
|
- master
|
|
# check every 14 days
|
|
schedule:
|
|
- cron: '0 6 5,20 * *'
|
|
jobs:
|
|
|
|
tox_test:
|
|
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Set up Python ${{ matrix.python-version }}
|
|
uses: actions/setup-python@v5
|
|
with:
|
|
python-version: ${{ matrix.python-version }}
|
|
|
|
- name: Install dependencies
|
|
run: |
|
|
python -m pip install --upgrade pip
|
|
pip install -r requirements.txt
|
|
if [ -f requirements-dev.txt ]; then pip install -r requirements-dev.txt; fi
|
|
|
|
- name: Test with tox
|
|
run: |
|
|
tox
|