Skip to content

Commit 6a0c142

Browse files
committed
update tests PR CI github action
1 parent d1bc416 commit 6a0c142

File tree

1 file changed

+7
-12
lines changed

1 file changed

+7
-12
lines changed

.github/workflows/tests.yaml

+7-12
Original file line numberDiff line numberDiff line change
@@ -30,21 +30,16 @@ jobs:
3030
with:
3131
python-version: "3.10"
3232

33-
- name: Cache Python dependencies
33+
- name: Cache dependencies
3434
uses: actions/cache@v4
3535
with:
36-
path: ~/.cache/pip
37-
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
36+
path: |
37+
~/.cache/pip
38+
~/.local/lib/python3.10/site-packages
39+
~/.paddleocr/
40+
key: ${{ runner.os }}-dependencies-${{ hashFiles('**/requirements.txt') }}
3841
restore-keys: |
39-
${{ runner.os }}-pip-
40-
41-
- name: Cache PaddleOCR files
42-
uses: actions/cache@v4
43-
with:
44-
path: ~/.paddleocr/
45-
key: ${{ runner.os }}-paddleocr-${{ hashFiles('**/paddleocr.py') }}
46-
restore-keys: |
47-
${{ runner.os }}-paddleocr-
42+
${{ runner.os }}-dependencies-
4843
4944
- name: Install dependencies
5045
run: |

0 commit comments

Comments
 (0)