diff options
author | toonn <toonn@toonn.io> | 2021-07-18 20:28:37 +0200 |
---|---|---|
committer | toonn <toonn@toonn.io> | 2021-07-20 23:20:47 +0200 |
commit | 45fbde64e660588b9fea9716db84554bf80e4685 (patch) | |
tree | 8b50cdf5e760cb819f1e8201f4d820c8c352df1e /.github/workflows/python.yml | |
parent | c943fce9fc61b85d142e77148dd5b0b57d18f0ac (diff) | |
download | ranger-45fbde64e660588b9fea9716db84554bf80e4685.tar.gz |
Actions: Update, incorporate and split
Update the required actions. Incorporate doctest and manpage_completion test in the test action and separate pylint because it doesn't work with as many python versions.
Diffstat (limited to '.github/workflows/python.yml')
-rw-r--r-- | .github/workflows/python.yml | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 1964a005..3d56e06c 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -1,4 +1,4 @@ -name: Python lints and tests +name: PEP8 and tests on: push: @@ -16,21 +16,19 @@ jobs: strategy: max-parallel: 4 matrix: - python-version: [3.6, 3.7, 3.8, 3.9] + python-version: [pypy2, 2.7, pypy3, 3.5, 3.6, 3.7, 3.8, 3.9] env: TERM: dumb steps: - - uses: actions/checkout@v1 - with: - fetch-depth: 1 + - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v1 + 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: Lint and test with pylint, flake8, but not -d-o-c-t-e-s-t-, -m-a-n-c-o-m-p-l-e-t-e- + - name: Flake8 and test run: | - make test_pylint test_flake8 test_pytest + make test_flake8 test_pytest test_doctest test_other |