More CI fixes (#208)

* Remove bandit from CI, update poetry.lock&pre-commit-config.yaml

* We don't support python 3.6

* poetry install also on tests flow

* remove pytest-azurepipelines
This commit is contained in:
Teemu R
2021-09-23 19:09:19 +02:00
committed by GitHub
parent 202d107d39
commit d7202883e9
4 changed files with 126 additions and 118 deletions

View File

@@ -53,10 +53,6 @@ jobs:
- name: "Run check-ast"
run: |
poetry run pre-commit run check-ast --all-files
- name: "Potential security issues (bandit)"
run: |
poetry run pre-commit run bandit --all-files
tests:
name: "Python ${{ matrix.python-version}} on ${{ matrix.os }}"
@@ -65,7 +61,7 @@ jobs:
strategy:
matrix:
python-version: ["3.6", "3.7", "3.8", "3.9", "pypy3"]
python-version: ["3.7", "3.8", "3.9", "pypy3"]
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
@@ -76,6 +72,7 @@ jobs:
- name: "Install dependencies"
run: |
python -m pip install --upgrade pip poetry
poetry install
- name: "Run tests"
run: |
poetry run pytest --cov kasa --cov-report xml