Skip to content

Commit e80cad7

Browse files
Update check for python version in make test
1 parent ff9a502 commit e80cad7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ lint:
1010

1111
test:
1212
PYTHON_VERSION=$$(python3 --version) && \
13-
if echo "$${PYTHON_VERSION}" | grep -q "3.10"; \
13+
if echo "$${PYTHON_VERSION}" | grep -E -q "3\.[0-9]{2,}"; \
1414
then python3 -m pytest tests; \
1515
else nosetests -v --with-coverage --cover-package=$(PROJECT) tests; \
1616
fi

requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
python-gitlab==3.1.0
2-
giturlparse==0.10.0
1+
python-gitlab>=3.1.0
2+
giturlparse>=0.10.0

0 commit comments

Comments
 (0)