File tree 2 files changed +11
-16
lines changed
2 files changed +11
-16
lines changed Original file line number Diff line number Diff line change @@ -47,17 +47,12 @@ jobs:
47
47
uses : actions/setup-python@v2
48
48
with :
49
49
python-version : ${{ matrix.py }}
50
-
51
- - uses : actions/cache@v2
52
- with :
53
- path : ~/.cache/pip
54
- key : ${{ runner.os }}-pip-1
55
- restore-keys : |
56
- ${{ runner.os }}-pip-
50
+ cache : ' pip'
51
+ cache-dependency-path : ' requirements-dev.txt'
57
52
58
53
- name : Install dependency
59
54
run : |
60
- pip install -U cryptography PyNaCl pytest pytest-cov coveralls
55
+ pip install -U -r requirements-dev.txt
61
56
62
57
- name : Set up MySQL
63
58
run : |
@@ -98,16 +93,14 @@ jobs:
98
93
runs-on : ubuntu-20.04
99
94
needs : test
100
95
steps :
101
- - uses : actions/setup-python@v2
102
- with :
103
- python-version : 3.9
96
+ - name : requirements.
97
+ run : |
98
+ echo coveralls > requirements.txt
104
99
105
- - uses : actions/cache @v2
100
+ - uses : actions/setup-python @v2
106
101
with :
107
- path : ~/.cache/pip
108
- key : finish-pip-1
109
- restore-keys : |
110
- finish-pip-
102
+ python-version : ' 3.9'
103
+ cache : ' pip'
111
104
112
105
- name : Finished
113
106
run : |
Original file line number Diff line number Diff line change 1
1
cryptography
2
2
PyNaCl >= 1.4.0
3
3
pytest
4
+ pytest-cov
5
+ coveralls
<
2E04
/rect>
You can’t perform that action at this time.
0 commit comments