mirror of
https://github.com/saveweb/biliarchiver.git
synced 2024-09-19 11:05:28 -07:00
with poetry
This commit is contained in:
parent
80129d23ce
commit
955289c844
10
.github/workflows/python-package.yaml
vendored
10
.github/workflows/python-package.yaml
vendored
@ -28,7 +28,9 @@ jobs:
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
python -m pip install flake8 pytest poetry
|
||||
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
|
||||
# if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
|
||||
poetry install
|
||||
pip install -e .
|
||||
- name: Lint with flake8
|
||||
run: |
|
||||
# stop the build if there are Python syntax errors or undefined names
|
||||
@ -37,9 +39,9 @@ jobs:
|
||||
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
|
||||
- name: run biliarchiver tools
|
||||
run: |
|
||||
bili_archive_bvids -h
|
||||
bili_uploade -h
|
||||
bili_get_bvids -h
|
||||
python -m biliarchiver.bili_archive_bvids -h
|
||||
python -m biliarchiver.bili_get_bvids -h
|
||||
python -m biliarchiver.bili_upload -h
|
||||
# - name: Test with pytest
|
||||
# run: |
|
||||
# pytest
|
Loading…
Reference in New Issue
Block a user