fix github actions

This commit is contained in:
Daniel Gatis 2024-11-19 23:39:07 -03:00
parent 3a7ba4b9a8
commit bd512b08cb
3 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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

View File

@ -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