summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiampaolo Rodola <g.rodola@gmail.com>2020-12-17 20:52:00 +0100
committerGiampaolo Rodola <g.rodola@gmail.com>2020-12-17 20:52:00 +0100
commit0defe1b905273e16548563098d5c81b328d65117 (patch)
tree1f971eb38e01a5ad520cfe6d6d8d302db5282cc4
parent957f6cfd95598e5ae87bd73f4ab0ac900ec49081 (diff)
downloadpsutil-0defe1b905273e16548563098d5c81b328d65117.tar.gz
skip-appveyor
Signed-off-by: Giampaolo Rodola <g.rodola@gmail.com>
-rw-r--r--.github/workflows/ci.yml28
1 files changed, 13 insertions, 15 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 5559f23e..fb421475 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -9,9 +9,21 @@
# To skip certain builds see:
# https://cibuildwheel.readthedocs.io/en/stable/options/#build-skip
-name: Build
on: [push]
jobs:
+ linters:
+ runs-on: ubuntu-latest
+ strategy:
+ matrix:
+ # in this example, there is a newer version already installed, 3.7.7, so the older version will be downloaded
+ python-version: [2.7, 3.8]
+ steps:
+ - uses: actions/checkout@v2
+ - uses: actions/setup-python@v2
+ with:
+ python-version: ${{ matrix.python-version }}
+ - run: python -m pip install flake8
+
# linux-macos-win:
# name: ${{ matrix.os }}
# runs-on: ${{ matrix.os }}
@@ -93,17 +105,3 @@ jobs:
# python3 psutil/tests/runner.py
# python3 psutil/tests/test_memleaks.py
- linters:
- name: "Linters"
- runs-on: ubuntu-latest
- strategy:
- matrix:
- python-version: [2.7, 3.8]
- steps:
- - uses: actions/checkout@v2
- - uses: actions/setup-python@v2
- with:
- python-version: ${{ matrix.python-version }}
- - run: |
- python -m pip install flake8
- make lint