mirror of
https://github.com/soimort/you-get.git
synced 2025-01-23 13:35:16 +03:00
switch from "setup.py test" to "python -m unittest" (pytest has a weird 'I/O operation on closed file' bug though)
This commit is contained in:
parent
2569aa03f6
commit
4b9c951084
2
.github/workflows/python-package.yml
vendored
2
.github/workflows/python-package.yml
vendored
@ -26,7 +26,7 @@ jobs:
|
|||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip setuptools
|
python -m pip install --upgrade pip setuptools
|
||||||
pip install flake8 pytest
|
pip install flake8
|
||||||
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
|
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
|
||||||
- name: Lint with flake8
|
- name: Lint with flake8
|
||||||
run: |
|
run: |
|
||||||
|
2
Makefile
2
Makefile
@ -8,7 +8,7 @@ i:
|
|||||||
@(cd src/; python3 -i -c 'import you_get; print("You-Get %s\n>>> import you_get" % you_get.version.__version__)')
|
@(cd src/; python3 -i -c 'import you_get; print("You-Get %s\n>>> import you_get" % you_get.version.__version__)')
|
||||||
|
|
||||||
test:
|
test:
|
||||||
$(SETUP) test
|
(cd src; python -m unittest discover -s ../tests)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
zenity --question
|
zenity --question
|
||||||
|
Loading…
Reference in New Issue
Block a user