File tree Expand file tree Collapse file tree 4 files changed +19
-12
lines changed Expand file tree Collapse file tree 4 files changed +19
-12
lines changed Original file line number Diff line number Diff line change
1
+ version : 2
2
+ updates :
3
+ - package-ecosystem : " github-actions"
4
+ directory : " /"
5
+ schedule :
6
+ interval : " weekly"
Original file line number Diff line number Diff line change 11
11
runs-on : ubuntu-latest
12
12
steps :
13
13
- name : Handle the code
14
- uses : actions/checkout@v2
14
+ uses : actions/checkout@v3
15
15
16
16
- name : Set up Python 3.10
17
17
uses : actions/setup-python@v2
Original file line number Diff line number Diff line change @@ -18,15 +18,15 @@ jobs:
18
18
19
19
steps :
20
20
- name : Handle the code
21
- uses : actions/checkout@v2
21
+ uses : actions/checkout@v3
22
22
23
23
- name : " Set up Python 3.10"
24
24
uses : actions/setup-python@v2
25
25
with :
26
26
python-version : " 3.10"
27
27
28
28
- name : Handle pip cache
29
- uses : actions/cache@v2
29
+ uses : actions/cache@v3
30
30
with :
31
31
path : ~/.cache/pip
32
32
key : ${{ runner.os }}-pip-${{ hashFiles('**/requirements*.txt') }}
36
36
- name : Install required dependencies
37
37
run : |
38
38
python3 -m pip install --upgrade pip
39
- pip install tox tox-wheel
39
+ pip install tox
40
40
41
41
- name : Code check
42
42
run : tox -e ${TOX_VENV}
@@ -70,23 +70,23 @@ jobs:
70
70
tox-env : pypy3
71
71
steps :
72
72
- name : Handle the code
73
- uses : actions/checkout@v2
73
+ uses : actions/checkout@v3
74
74
75
75
- name : Set up Python ${{ matrix.python-version }}
76
76
uses : actions/setup-python@v2
77
77
with :
78
78
python-version : ${{ matrix.python-version }}
79
79
80
80
- name : Handle pip cache
81
- uses : actions/cache@v2
81
+ uses : actions/cache@v3
82
82
with :
83
83
path : ~/.cache/pip
84
84
key : ${{ runner.os }}-pip-${{ hashFiles('**/requirements*.txt') }}
85
85
restore-keys : |
86
86
${{ runner.os }}-pip-
87
87
88
88
- name : Handle ZK installation cache
89
- uses : actions/cache@v2
89
+ uses : actions/cache@v3
90
90
with :
91
91
path : zookeeper
92
92
key : ${{ runner.os }}-zookeeper
@@ -110,4 +110,4 @@ jobs:
110
110
ZOOKEEPER_LIB : " ${{ !contains(matrix.zk-version, '3.4') && 'lib' || '' }}"
111
111
112
112
- name : Publish Codecov report
113
- uses : codecov/codecov-action@v2
113
+ uses : codecov/codecov-action@v3
Original file line number Diff line number Diff line change 1
1
[tox]
2
- minversion = 3.24.1
2
+ minversion = 4.3.4
3
3
requires =
4
4
virtualenv>=20.7.2
5
- tox-wheel>=0.6.0
6
5
skip_missing_interpreters =True
7
6
envlist =
8
7
pep8,black,
@@ -31,12 +30,14 @@ extras =
31
30
deps =
32
31
sasl: kerberos
33
32
codecov: codecov
33
+ allowlist_externals =
34
+ {toxinidir}/ensure-zookeeper-env.sh
35
+ {toxinidir}/init_krb5.sh
34
36
commands =
35
37
sasl: {toxinidir}/init_krb5.sh {envtmpdir}/kerberos \
36
- / {toxinidir}/ensure-zookeeper-env.sh \
38
+ {toxinidir}/ensure-zookeeper-env.sh \
37
39
pytest {posargs: -ra -v --cov-report =xml --cov =kazoo kazoo/tests}
38
40
39
-
40
41
[testenv:build]
41
42
42
43
[testenv:codecov]
You can’t perform that action at this time.
0 commit comments