Skip to content

Commit 37d10ec

Browse files
committed
fix version comparison
1 parent e8ed6d3 commit 37d10ec

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/tests.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@ jobs:
3030
python -m pip install --upgrade pip
3131
pip install pylint pytest
3232
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
33-
if [ ${{ matrix.python-version }} >= "3.12" ]; then pip install setuptools; fi
33+
- name: Install setuptools for Python ≥ 3.12
34+
if: matrix.python-version >= '3.12'
35+
run: pip install setuptools
3436
- name: Analysing the code with pylint
3537
run: |
3638
pylint $(git ls-files '*.py')

0 commit comments

Comments
 (0)