File tree Expand file tree Collapse file tree 2 files changed +16
-6
lines changed Expand file tree Collapse file tree 2 files changed +16
-6
lines changed Original file line number Diff line number Diff line change @@ -32,33 +32,40 @@ jobs:
32
32
- name : Checkout the code
33
33
uses : actions/checkout@v2
34
34
35
+ - name : Install poetry
36
+
37
+ with :
38
+ poetry-version : 1.2.2
39
+
35
40
- name : Set up Python ${{ matrix.python-version }}
36
- uses : actions/setup-python@v2
41
+ id : setup_python
42
+ uses : actions/setup-python@v4
37
43
with :
38
44
python-version : ${{ matrix.python-version }}
45
+ cache : poetry
39
46
40
- - name : Install tox dependencies
41
- run : pip install tox poetry
47
+ - name : Install tox
48
+ run : pip install tox
42
49
43
50
- name : Install CockroachDB
44
51
uses : ./.github/actions/setup-cockroachdb
45
52
46
53
# Run all of the tests
47
54
- name : Flake8 - Style guide enforcement
48
55
run : tox -e flake8
49
- if : ${{ matrix.python-version == 3.9 }}
56
+ if : ${{ matrix.python-version == 3.9 }}
50
57
51
58
- name : Black - Format check
52
59
run : tox -e black-check
53
- if : ${{ matrix.python-version == 3.9 }}
60
+ if : ${{ matrix.python-version == 3.9 }}
54
61
55
62
- name : Isort - Import format check
56
63
run : tox -e isort-check
57
64
if : ${{ matrix.python-version == 3.9 }}
58
65
59
66
- name : Safety - Python dependency vulnerability check
60
67
run : tox -e safety
61
- if : ${{ matrix.python-version == 3.9 }}
68
+ if : ${{ matrix.python-version == 3.9 }}
62
69
63
70
- name : Set env
64
71
id : vars
Original file line number Diff line number Diff line change
1
+ [virtualenvs ]
2
+ create = true
3
+ in-project = true
You can’t perform that action at this time.
0 commit comments