summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorTodd Leonhardt <todd.leonhardt@gmail.com>2021-01-30 18:57:53 -0500
committerTodd Leonhardt <todd.leonhardt@gmail.com>2021-01-30 18:57:53 -0500
commit3fc09649e9ec8011d339f0f52b347543077ce8bc (patch)
tree333efe86238912cc1b4dfedd1e1e3e4fe500ca35 /.github/workflows
parent24c7c79459c541b7e5a83fe58634fe84be959ec0 (diff)
downloadcmd2-git-3fc09649e9ec8011d339f0f52b347543077ce8bc.tar.gz
Try to fix flake8 lint run and Python 3.10 runs
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ci.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 780b0c0f..d85b789c 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -20,7 +20,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
- python-version: [3.6, 3.7, 3.8, 3.9, 3.10-dev]
+ python-version: [3.6, 3.7, 3.8, 3.9, 3.10]
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
@@ -45,7 +45,7 @@ jobs:
run: pip install -U --user pip setuptools setuptools-scm flake8 nox
- name: Lint
if: matrix.os == 'ubuntu-latest' && matrix.python-version == env.PYTHON_LATEST
- run: flake8 . --count --ignore=E252,W503 --max-complexity=26 --max-line-length=127 --show-source --statistics ;
+ run: python -m flake8 . --count --ignore=E252,W503 --max-complexity=26 --max-line-length=127 --show-source --statistics ;
- name: Run tests and post coverage results
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}