diff options
author | Marcel Partap <mpartap@gmx.net> | 2019-09-11 10:35:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-11 10:35:52 +0200 |
commit | 02714ab883bff9e807d9e78951eebfdb027bdcf1 (patch) | |
tree | feaa42835a8ea5b428f770792b306d3e64f8d11e /.github/workflows/python.yml | |
parent | 40350d99009cbb537e3a8e6d13ca8f37cfc3a73b (diff) | |
parent | 86281229606e147870b365d7aff445e394883674 (diff) | |
download | ranger-02714ab883bff9e807d9e78951eebfdb027bdcf1.tar.gz |
Merge branch 'master' into fix-status-bar-position
Diffstat (limited to '.github/workflows/python.yml')
-rw-r--r-- | .github/workflows/python.yml | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml new file mode 100644 index 00000000..6e872db5 --- /dev/null +++ b/.github/workflows/python.yml @@ -0,0 +1,30 @@ +name: Python lints and tests + +on: + push: + paths: + - '.github/workflows/python.yml' + - '*.py' + +jobs: + test_py: + runs-on: ubuntu-latest + strategy: + max-parallel: 4 + matrix: + python-version: [2.7, 3.5, 3.6, 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 requirements.txt + - name: Lint and test with pylint, flake8, doctest, pytest + run: | + make test_py |