File tree Expand file tree Collapse file tree 2 files changed +11
-16
lines changed Expand file tree Collapse file tree 2 files changed +11
-16
lines changed Original file line number Diff line number Diff line change @@ -47,17 +47,12 @@ jobs:
4747 uses : actions/setup-python@v2
4848 with :
4949 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'
5752
5853 - name : Install dependency
5954 run : |
60- pip install -U cryptography PyNaCl pytest pytest-cov coveralls
55+ pip install -U -r requirements-dev.txt
6156
6257 - name : Set up MySQL
6358 run : |
@@ -98,16 +93,14 @@ jobs:
9893 runs-on : ubuntu-20.04
9994 needs : test
10095 steps :
101- - uses : actions/setup-python@v2
102- with :
103- python-version : 3.9
96+ - name : requirements.
97+ run : |
98+ echo coveralls > requirements.txt
10499
105- - uses : actions/cache @v2
100+ - uses : actions/setup-python @v2
106101 with :
107- path : ~/.cache/pip
108- key : finish-pip-1
109- restore-keys : |
110- finish-pip-
102+ python-version : ' 3.9'
103+ cache : ' pip'
111104
112105 - name : Finished
113106 run : |
Original file line number Diff line number Diff line change 11cryptography
22PyNaCl >= 1.4.0
33pytest
4+ pytest-cov
5+ coveralls
You can’t perform that action at this time.
0 commit comments