Commit 3f5551d 1 parent eab05ca commit 3f5551d Copy full SHA for 3f5551d
File tree 1 file changed +8
-13
lines changed
1 file changed +8
-13
lines changed Original file line number Diff line number Diff line change @@ -47,20 +47,14 @@ 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 : |
60
- python -m pip install -e plugins/hanlp_trie
61
- python -m pip install -e plugins/hanlp_common
62
- python -m pip install -e .
63
- python -m pip install pytest
53
+ python3 -m pip install --upgrade pip
54
+ python3 -m pip install -e plugins/hanlp_trie
55
+ python3 -m pip install -e plugins/hanlp_common
56
+ python3 -m pip install -e .
57
+ python3 -m pip install pytest
64
58
65
59
- name : Cache data
66
60
uses : actions/cache@v3
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