Commit 17b2da1 1 parent eab05ca commit 17b2da1 Copy full SHA for 17b2da1
File tree 1 file changed +4
-9
lines changed
1 file changed +4
-9
lines changed Original file line number Diff line number Diff line change @@ -47,16 +47,10 @@ jobs:
47
47
with :
48
48
python-version : ${{ matrix.python-version }}
49
49
50
- - name : Cache dependencies
51
- id : cache-pip
52
- uses : actions/cache@v3
53
- with :
54
- path : ${{ env.pythonLocation }}
55
- key : ${{ env.pythonLocation }}-${{ hashFiles('setup.py') }}
56
-
57
- - if : ${{ steps.cache-pip.outputs.cache-hit != 'true' }}
58
- name : Install dependencies
50
+ - name : Install dependencies
51
+ shell : bash
59
52
run : |
53
+ python -m pip install --upgrade pip
60
54
python -m pip install -e plugins/hanlp_trie
61
55
python -m pip install -e plugins/hanlp_common
62
56
python -m pip install -e .
69
63
key : hanlp-data
70
64
71
65
- name : Test with pytest
66
+ shell : bash
72
67
run : |
73
68
pytest tests
74
69
pytest plugins/hanlp_trie/tests
You can’t perform that action at this time.
0 commit comments