about summary refs log tree commit diff stats
path: root/.github/workflows
diff options
context:
space:
mode:
authortoonn <toonn@toonn.io>2020-01-15 20:59:30 +0100
committertoonn <toonn@toonn.io>2020-07-05 15:23:42 +0200
commitcbc8177825b11843c11c353df0fa03b016a331fc (patch)
tree3200b274422bc871277f644150fc3c43e0180f30 /.github/workflows
parentaff694730d3df63778923e3f59cc77ff58c9235a (diff)
downloadranger-cbc8177825b11843c11c353df0fa03b016a331fc.tar.gz
Prepare for Pylint transition from versions <2
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/doctest.yml4
-rw-r--r--.github/workflows/py37.yml30
-rw-r--r--.github/workflows/python.yml4
3 files changed, 4 insertions, 34 deletions
diff --git a/.github/workflows/doctest.yml b/.github/workflows/doctest.yml
index f12cb926..904ed376 100644
--- a/.github/workflows/doctest.yml
+++ b/.github/workflows/doctest.yml
@@ -1,4 +1,4 @@
-name: Python doctest and pytest
+name: Python doctest and manpage-completion
 
 on:
   push:
@@ -12,7 +12,7 @@ jobs:
     strategy:
       max-parallel: 4
       matrix:
-        python-version: [2.7, 3.5, 3.6]
+        python-version: [2.7, 3.5, 3.6, 3.7, 3.8]
     steps:
     - uses: actions/checkout@v1
       with:
diff --git a/.github/workflows/py37.yml b/.github/workflows/py37.yml
deleted file mode 100644
index ca8210a2..00000000
--- a/.github/workflows/py37.yml
+++ /dev/null
@@ -1,30 +0,0 @@
-name: Python 3.7 lints and tests
-
-on:
-  push:
-    paths:
-      - '.github/workflows/py37.yml'
-      - '*.py'
-
-jobs:
-  test_py:
-    runs-on: ubuntu-latest
-    strategy:
-      max-parallel: 4
-      matrix:
-        python-version: [3.7]
-    steps:
-    - uses: actions/checkout@v1
-      with:
-        fetch-depth: 1
-    - name: Set up Python ${{ matrix.python-version }}
-      uses: actions/setup-python@v1
-      with:
-        python-version: ${{ matrix.python-version }}
-    - name: Install dependencies
-      run: |
-        python -m pip install --upgrade pip
-        pip install -r <(sed 's/<2//' requirements.txt)
-    - name: Lint and test with pylint, flake8, doctest, pytest
-      run: |
-        make test_py
diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml
index 1daba84c..073b78a6 100644
--- a/.github/workflows/python.yml
+++ b/.github/workflows/python.yml
@@ -12,7 +12,7 @@ jobs:
     strategy:
       max-parallel: 4
       matrix:
-        python-version: [2.7, 3.5, 3.6]
+        python-version: [3.5, 3.6, 3.7, 3.8]
     steps:
     - uses: actions/checkout@v1
       with:
@@ -25,6 +25,6 @@ jobs:
       run: |
         python -m pip install --upgrade pip
         pip install -r requirements.txt
-    - name: Lint and test with pylint, flake8, -d-o-c-t-e-s-t-, -p-y-t-e-s-t-
+    - name: Lint and test with pylint, flake8, -d-o-c-t-e-s-t-, -m-a-n-c-o-m-p-l-e-t-e-
       run: |
         make test_pylint test_flake8 test_pytest