File tree Expand file tree Collapse file tree 2 files changed +15
-14
lines changed Expand file tree Collapse file tree 2 files changed +15
-14
lines changed Original file line number Diff line number Diff line change @@ -29,20 +29,22 @@ jobs:
29
29
with :
30
30
python-version : ${{ matrix.python-version }}
31
31
- name : Install dependencies
32
- run : make install-test
32
+ run : make install
33
33
- name : Run unit tests
34
34
run : |
35
- make install
36
- make test-unit
35
+ poetry run pip freeze
36
+ poetry run make test-unit
37
37
38
38
lint :
39
39
runs-on : ubuntu-latest
40
40
steps :
41
41
- uses : actions/checkout@v4
42
42
- name : Install dependencies
43
- run : make install-dev
43
+ run : make install
44
44
- name : Lint
45
- run : make lint
45
+ run : |
46
+ pip freeze
47
+ poetry run make lint
46
48
47
49
test_integration :
48
50
strategy :
@@ -56,11 +58,10 @@ jobs:
56
58
with :
57
59
python-version : ${{ matrix.python-version }}
58
60
- name : Install dependencies
59
- run : make install-test
61
+ run : make install
60
62
- name : Run all tests
61
63
run : |
62
- make install
63
- make test
64
+ poetry run make test
64
65
env :
65
66
UNSTRUCTURED_API_KEY : ${{ secrets.UNSTRUCTURED_API_KEY }}
66
67
Original file line number Diff line number Diff line change @@ -7,19 +7,19 @@ DOCKER_IMAGE ?= downloads.unstructured.io/unstructured-io/unstructured-api:lates
7
7
# Install #
8
8
# ##########
9
9
10
- .PHONY : install-test
11
- install-test :
12
- pip install pytest pytest-asyncio pytest-mock requests_mock pypdf deepdiff requests-toolbelt uvloop
13
-
14
10
.PHONY : install-dev
15
11
install-dev :
16
- pip install poetry
12
+ pip install poetry mypy pylint uvloop jupyter
17
13
python scripts/prepare-readme.py
18
14
poetry install
19
15
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
+
20
20
# # install: installs all test, dev, and experimental requirements
21
21
.PHONY : install
22
- install : install-test install-dev
22
+ install : install-test
23
23
24
24
# ################
25
25
# Test and Lint #
You can’t perform that action at this time.
0 commit comments