about summary refs log tree commit diff stats
path: root/.github
diff options
context:
space:
mode:
authortoonn <toonn@toonn.io>2021-07-18 20:59:56 +0200
committertoonn <toonn@toonn.io>2021-07-20 23:20:47 +0200
commitfb91828c89bf0bb57b1946931caf5a28d77edc35 (patch)
tree21dec10d94c5eb64b4836fc42920f50c142fedf7 /.github
parent45fbde64e660588b9fea9716db84554bf80e4685 (diff)
downloadranger-fb91828c89bf0bb57b1946931caf5a28d77edc35.tar.gz
Actions: Separate pypy tests because they fail
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/pylint.yml2
-rw-r--r--.github/workflows/pypy.yml34
-rw-r--r--.github/workflows/python.yml2
3 files changed, 36 insertions, 2 deletions
diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml
index eb44669f..c922293b 100644
--- a/.github/workflows/pylint.yml
+++ b/.github/workflows/pylint.yml
@@ -16,7 +16,7 @@ jobs:
     strategy:
       max-parallel: 4
       matrix:
-        python-version: [pypy3, 3.5, 3.6, 3.7, 3.8, 3.9]
+        python-version: [pypy3, 3.6, 3.7, 3.8, 3.9]
     steps:
     - uses: actions/checkout@v2
     - name: Set up Python ${{ matrix.python-version }}
diff --git a/.github/workflows/pypy.yml b/.github/workflows/pypy.yml
new file mode 100644
index 00000000..3d56e06c
--- /dev/null
+++ b/.github/workflows/pypy.yml
@@ -0,0 +1,34 @@
+name: PEP8 and tests
+
+on:
+  push:
+    paths:
+      - '.github/workflows/python.yml'
+      - '**.py'
+  pull_request:
+    paths:
+      - '.github/workflows/python.yml'
+      - '**.py'
+
+jobs:
+  test_py:
+    runs-on: ubuntu-latest
+    strategy:
+      max-parallel: 4
+      matrix:
+        python-version: [pypy2, 2.7, pypy3, 3.5, 3.6, 3.7, 3.8, 3.9]
+    env:
+      TERM: dumb
+    steps:
+    - uses: actions/checkout@v2
+    - name: Set up Python ${{ matrix.python-version }}
+      uses: actions/setup-python@v2
+      with:
+        python-version: ${{ matrix.python-version }}
+    - name: Install dependencies
+      run: |
+        python -m pip install --upgrade pip
+        pip install -r requirements.txt
+    - name: Flake8 and test
+      run: |
+        make test_flake8 test_pytest test_doctest test_other
diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml
index 3d56e06c..266c13de 100644
--- a/.github/workflows/python.yml
+++ b/.github/workflows/python.yml
@@ -16,7 +16,7 @@ jobs:
     strategy:
       max-parallel: 4
       matrix:
-        python-version: [pypy2, 2.7, pypy3, 3.5, 3.6, 3.7, 3.8, 3.9]
+        python-version: [2.7, 3.5, 3.6, 3.7, 3.8, 3.9]
     env:
       TERM: dumb
     steps: