Skip to content

Commit 08caad3

Browse files
committed
Install missing dev packages
1 parent 32e3a07 commit 08caad3

File tree

2 files changed

+15
-14
lines changed

2 files changed

+15
-14
lines changed

.github/workflows/ci.yaml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,20 +29,22 @@ jobs:
2929
with:
3030
python-version: ${{ matrix.python-version }}
3131
- name: Install dependencies
32-
run: make install-test
32+
run: make install
3333
- name: Run unit tests
3434
run: |
35-
make install
36-
make test-unit
35+
poetry run pip freeze
36+
poetry run make test-unit
3737
3838
lint:
3939
runs-on: ubuntu-latest
4040
steps:
4141
- uses: actions/checkout@v4
4242
- name: Install dependencies
43-
run: make install-dev
43+
run: make install
4444
- name: Lint
45-
run: make lint
45+
run: |
46+
pip freeze
47+
poetry run make lint
4648
4749
test_integration:
4850
strategy:
@@ -56,11 +58,10 @@ jobs:
5658
with:
5759
python-version: ${{ matrix.python-version }}
5860
- name: Install dependencies
59-
run: make install-test
61+
run: make install
6062
- name: Run all tests
6163
run: |
62-
make install
63-
make test
64+
poetry run make test
6465
env:
6566
UNSTRUCTURED_API_KEY: ${{ secrets.UNSTRUCTURED_API_KEY }}
6667

Makefile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,19 @@ DOCKER_IMAGE ?= downloads.unstructured.io/unstructured-io/unstructured-api:lates
77
# Install #
88
###########
99

10-
.PHONY: install-test
11-
install-test:
12-
pip install pytest pytest-asyncio pytest-mock requests_mock pypdf deepdiff requests-toolbelt uvloop
13-
1410
.PHONY: install-dev
1511
install-dev:
16-
pip install poetry
12+
pip install poetry mypy pylint uvloop jupyter
1713
python scripts/prepare-readme.py
1814
poetry install
1915

16+
.PHONY: install-test
17+
install-test: install-dev
18+
poetry run pip install pytest pytest-asyncio pytest-mock requests_mock pypdf deepdiff requests-toolbelt uvloop
19+
2020
## install: installs all test, dev, and experimental requirements
2121
.PHONY: install
22-
install: install-test install-dev
22+
install: install-test
2323

2424
#################
2525
# Test and Lint #

0 commit comments

Comments
 (0)