Skip to content

Commit

Permalink
update tests PR CI github action (#14159)
Browse files Browse the repository at this point in the history
* update tests PR CI github action

* add *.py to test ci work well

* adddelpy to test ci work well
  • Loading branch information
GreatV authored Nov 5, 2024
1 parent 58e876d commit 682c5bb
Showing 1 changed file with 7 additions and 12 deletions.
19 changes: 7 additions & 12 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,21 +30,16 @@ jobs:
with:
python-version: "3.10"

- name: Cache Python dependencies
- name: Cache dependencies
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
path: |
~/.cache/pip
~/.local/lib/python3.10/site-packages
~/.paddleocr/
key: ${{ runner.os }}-dependencies-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Cache PaddleOCR files
uses: actions/cache@v4
with:
path: ~/.paddleocr/
key: ${{ runner.os }}-paddleocr-${{ hashFiles('**/paddleocr.py') }}
restore-keys: |
${{ runner.os }}-paddleocr-
${{ runner.os }}-dependencies-
- name: Install dependencies
run: |
Expand Down

0 comments on commit 682c5bb

Please sign in to comment.