forked from OSGeo/grass
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CI: Downgrade pytest for pylint job to allow time to fix breaking cha…
…nges in pytest version 8 (OSGeo#3381)
- Loading branch information
Showing
1 changed file
with
5 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -115,11 +115,12 @@ jobs: | |
- name: Run Pylint on other files using pytest | ||
Check warning on line 116 in .github/workflows/python-code-quality.yml GitHub Actions / Python Code Quality Checks (ubuntu-22.04, 3.10, 3.7, 23.1.0, 3.9.2, 2.12.2)
|
||
run: | | ||
pip install pytest pytest-pylint==0.19 | ||
pip install pytest==7.4.4 pytest-pylint==0.19 | ||
echo "::warning file=.github/workflows/python-code-quality.yml,line=116,col=42,endColumn=48::\ | ||
Temporarily downgraded pytest-pylint to allow merging other PRs. The errors reported\ | ||
with a newer version seem legitimite and should be fixed (2023-10-18,\ | ||
see https://github.com/OSGeo/grass/pull/3205)" | ||
Temporarily downgraded pytest-pylint and pytest to allow merging other PRs.\ | ||
The errors reported with a newer version seem legitimite and should be fixed \ | ||
(2023-10-18, see https://github.com/OSGeo/grass/pull/3205)\ | ||
(2024-01-28, see https://github.com/OSGeo/grass/issues/3380)" | ||
export PYTHONPATH=`grass --config python_path`:$PYTHONPATH | ||
export LD_LIBRARY_PATH=$HOME/install/grass84/lib:$LD_LIBRARY_PATH | ||
pytest --pylint -m pylint --pylint-rcfile=.pylintrc --pylint-jobs=$(nproc) \ | ||
|