summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorMarc Mueller <30130371+cdce8p@users.noreply.github.com>2021-02-21 22:14:15 +0100
committerPierre Sassoulas <pierre.sassoulas@gmail.com>2021-02-28 21:52:27 +0100
commit7a3f53a437c3445a5fabe0814f5641ebfd9b1baf (patch)
tree1d63dd28b570798ea0af28aad23b33f4cc752083 /.github
parent02b619d3092620b29b9fdae25da19952b96a4655 (diff)
downloadpylint-git-7a3f53a437c3445a5fabe0814f5641ebfd9b1baf.tar.gz
Update requirements
* Pin test and doc requirements to current versions * Rename requirements_test_pypy.txt to requirements_test_min.txt * Move some dependencies from min to test * Update coverage and sphinx versions * Update ci * Use pytest-cov
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yaml14
1 files changed, 7 insertions, 7 deletions
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index db84b929e..dc919e03c 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -33,7 +33,7 @@ jobs:
run: >-
echo "::set-output name=key::base-venv-${{ env.CACHE_VERSION }}-${{
hashFiles('pylint/__pkg_info__.py', 'requirements_test.txt',
- 'requirements_test_pypy.txt', 'requirements_docs.txt') }}"
+ 'requirements_test_min.txt', 'requirements_docs.txt') }}"
- name: Restore Python virtual environment
id: cache-venv
uses: actions/cache@v2.1.4
@@ -195,7 +195,7 @@ jobs:
run: >-
echo "::set-output name=key::venv-${{ env.CACHE_VERSION }}-${{
hashFiles('pylint/__pkg_info__.py', 'requirements_test.txt',
- 'requirements_test_pypy.txt') }}"
+ 'requirements_test_min.txt') }}"
- name: Restore Python virtual environment
id: cache-venv
uses: actions/cache@v2.1.4
@@ -246,7 +246,7 @@ jobs:
- name: Run pytest
run: |
. venv/bin/activate
- coverage run -m pytest --benchmark-disable tests/
+ pytest --benchmark-disable --cov --cov-report= tests/
- name: Upload coverage artifact
uses: actions/upload-artifact@v2.2.2
with:
@@ -366,7 +366,7 @@ jobs:
id: generate-python-key
run: >-
echo "::set-output name=key::venv-${{ env.CACHE_VERSION }}-${{
- hashFiles('pylint/__pkg_info__.py', 'requirements_test_pypy.txt') }}"
+ hashFiles('pylint/__pkg_info__.py', 'requirements_test_min.txt') }}"
- name: Restore Python virtual environment
id: cache-venv
uses: actions/cache@v2.1.4
@@ -383,7 +383,7 @@ jobs:
python -m venv venv
. venv\\Scripts\\activate
python -m pip install -U pip setuptools wheel
- pip install -U -r requirements_test_pypy.txt
+ pip install -U -r requirements_test_min.txt
pip install -e .
pytest-windows:
@@ -444,7 +444,7 @@ jobs:
id: generate-python-key
run: >-
echo "::set-output name=key::venv-${{ env.CACHE_VERSION }}-${{
- hashFiles('pylint/__pkg_info__.py', 'requirements_test_pypy.txt') }}"
+ hashFiles('pylint/__pkg_info__.py', 'requirements_test_min.txt') }}"
- name: Restore Python virtual environment
id: cache-venv
uses: actions/cache@v2.1.4
@@ -461,7 +461,7 @@ jobs:
python -m venv venv
. venv/bin/activate
python -m pip install -U pip setuptools wheel
- pip install -U -r requirements_test_pypy.txt
+ pip install -U -r requirements_test_min.txt
pip install -e .
pytest-pypy: