-
Notifications
You must be signed in to change notification settings - Fork 149
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fixed issue with stdin flush for libssh clients * Updated changelog * Updated sshd template * Updated versioneer * Updated logging * Refactored tests, imports * Updated CI cfg * Updated docstrings * Updated imports * Updated readme * Prettify tests
- Loading branch information
Showing
48 changed files
with
1,296 additions
and
610 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,16 @@ | ||
version: 2.1 | ||
|
||
orbs: | ||
python: circleci/[email protected] | ||
|
||
jobs: | ||
python_test: | ||
parameters: | ||
python_ver: | ||
type: string | ||
default: "3.6" | ||
default: "3.10" | ||
docker: | ||
- image: circleci/python:<< parameters.python_ver >> | ||
- image: cimg/python:<< parameters.python_ver >> | ||
steps: | ||
- checkout | ||
- python/load-cache: | ||
dependency-file: requirements_dev.txt | ||
key: depsv3-{{ .Branch }}.{{ arch }}-PY<< parameters.python_ver >> | ||
- run: | ||
name: Deps | ||
command: | | ||
|
@@ -24,23 +19,25 @@ jobs: | |
- run: | ||
command: | | ||
pip install -U -r requirements_dev.txt | ||
set -x | ||
eval "$(ssh-agent -s)" | ||
name: Build | ||
- python/save-cache: | ||
dependency-file: requirements_dev.txt | ||
key: depsv3-{{ .Branch }}.{{ arch }}-PY<< parameters.python_ver >> | ||
- run: | ||
command: | | ||
python setup.py check --restructuredtext | ||
name: Check readme | ||
- run: | ||
command: | | ||
flake8 pssh | ||
flake8 tests ci/integration_tests | ||
name: flake | ||
- run: | ||
command: | | ||
set -x | ||
eval "$(ssh-agent -s)" | ||
pytest | ||
name: Test | ||
- run: | ||
command: | | ||
pytest ci/integration_tests | ||
name: Integration tests | ||
- run: | ||
command: | | ||
|
@@ -59,22 +56,16 @@ jobs: | |
|
||
release: | ||
docker: | ||
- image: circleci/python:3.8 | ||
- image: cimg/python:3.10 | ||
steps: | ||
- checkout | ||
- python/load-cache: | ||
key: releasedepsv1-{{ .Branch }}.{{ arch }} | ||
dependency-file: requirements.txt | ||
- run: | ||
name: Deps | ||
command: | | ||
sudo apt-get update | ||
sudo apt-get install python3-pip | ||
pip install -U pip | ||
pip install -U twine | ||
- python/save-cache: | ||
key: releasedepsv1-{{ .Branch }}.{{ arch }} | ||
dependency-file: requirements.txt | ||
- run: | ||
name: Build Wheels/Source Dist | ||
command: | | ||
|
@@ -94,10 +85,10 @@ workflows: | |
matrix: | ||
parameters: | ||
python_ver: | ||
- "3.6" | ||
- "3.8" | ||
- "3.9" | ||
- "3.10" | ||
- "3.11" | ||
- "3.12" | ||
filters: | ||
tags: | ||
ignore: /.*/ | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,3 +9,4 @@ coverage: | |
ignore: | ||
- "embedded_server/.*" | ||
- "tests/.*" | ||
- "ci/integration_tests/.*" |
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 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 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 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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
Oops, something went wrong.