mirror of
https://git.mirrors.martin98.com/https://github.com/danielgatis/rembg
synced 2025-08-18 00:45:55 +08:00
fix github actions
This commit is contained in:
parent
3a7ba4b9a8
commit
bd512b08cb
2
.github/workflows/lint_python.yml
vendored
2
.github/workflows/lint_python.yml
vendored
@ -9,7 +9,7 @@ jobs:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-python@v5
|
||||
- name: Install dependencies
|
||||
run: pip install .[cli,dev]
|
||||
run: pip install .[cpu,cli,dev]
|
||||
- run: mypy --install-types --non-interactive --ignore-missing-imports ./rembg
|
||||
- run: bandit --recursive --skip B101,B104,B310,B311,B303,B110 --exclude ./rembg/_version.py ./rembg
|
||||
- run: black --force-exclude rembg/_version.py --check --diff ./rembg
|
||||
|
2
.github/workflows/publish_pypi.yml
vendored
2
.github/workflows/publish_pypi.yml
vendored
@ -12,7 +12,7 @@ jobs:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-python@v5
|
||||
- name: Install dependencies
|
||||
run: pip install .[cli,dev]
|
||||
run: pip install .[cpu,cli,dev]
|
||||
- name: Builds and uploads to PyPI
|
||||
run: |
|
||||
python3 setup.py sdist bdist_wheel
|
||||
|
2
.github/workflows/test_install.yml
vendored
2
.github/workflows/test_install.yml
vendored
@ -16,7 +16,7 @@ jobs:
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
- name: Install dependencies
|
||||
run: pip install .[cli,dev]
|
||||
run: pip install .[cpu,cli,dev]
|
||||
- name: Test installation with pytest
|
||||
run: |
|
||||
attempt=0
|
||||
|
Loading…
x
Reference in New Issue
Block a user