Skip to content

Commit bd512b0

Browse files
committed
fix github actions
1 parent 3a7ba4b commit bd512b0

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/lint_python.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
- uses: actions/checkout@v4
1010
- uses: actions/setup-python@v5
1111
- name: Install dependencies
12-
run: pip install .[cli,dev]
12+
run: pip install .[cpu,cli,dev]
1313
- run: mypy --install-types --non-interactive --ignore-missing-imports ./rembg
1414
- run: bandit --recursive --skip B101,B104,B310,B311,B303,B110 --exclude ./rembg/_version.py ./rembg
1515
- run: black --force-exclude rembg/_version.py --check --diff ./rembg

.github/workflows/publish_pypi.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
- uses: actions/checkout@v4
1313
- uses: actions/setup-python@v5
1414
- name: Install dependencies
15-
run: pip install .[cli,dev]
15+
run: pip install .[cpu,cli,dev]
1616
- name: Builds and uploads to PyPI
1717
run: |
1818
python3 setup.py sdist bdist_wheel

.github/workflows/test_install.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
with:
1717
python-version: ${{ matrix.python-version }}
1818
- name: Install dependencies
19-
run: pip install .[cli,dev]
19+
run: pip install .[cpu,cli,dev]
2020
- name: Test installation with pytest
2121
run: |
2222
attempt=0

0 commit comments

Comments
 (0)