File tree Expand file tree Collapse file tree 4 files changed +39
-37
lines changed Expand file tree Collapse file tree 4 files changed +39
-37
lines changed Original file line number Diff line number Diff line change @@ -2,36 +2,37 @@ name: asan_testing
2
2
3
3
on :
4
4
push :
5
+ branches :
6
+ - master
5
7
pull_request :
6
8
workflow_dispatch :
7
9
10
+ concurrency :
11
+ group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
12
+ cancel-in-progress : true
13
+
8
14
jobs :
9
15
linux :
10
- # We want to run on external PRs, but not on our own internal
11
- # PRs as they'll be run by the push to the branch.
12
- #
13
- # The main trick is described here:
14
- # https://github.com/Dart-Code/Dart-Code/pull/2375
15
- if : github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
16
-
17
16
runs-on : ubuntu-latest
18
17
steps :
19
- - uses : actions/setup-python@v3
20
- with :
21
- python-version : ' 3.10'
22
-
23
18
- name : Clone the module
24
- uses : actions/checkout@v3
19
+ uses : actions/checkout@v4
25
20
with :
26
21
submodules : true
27
22
23
+ - uses : actions/setup-python@v5
24
+ with :
25
+ python-version : ' 3.10'
26
+ cache : ' pip'
27
+ cache-dependency-path : ' tests/requirements.txt'
28
+
28
29
- name : Start Kafka
29
30
30
31
with :
31
32
type : cp-all-in-one-community
32
33
33
34
- name : Install Python dependencies
34
- run : pip3 install -r tests/requirements.txt
35
+ run : pip install -r tests/requirements.txt
35
36
36
37
- name : Build module
37
38
run : |
Original file line number Diff line number Diff line change @@ -2,23 +2,22 @@ name: fast_testing
2
2
3
3
on :
4
4
push :
5
+ branches :
6
+ - master
5
7
pull_request :
6
8
workflow_dispatch :
7
9
10
+ concurrency :
11
+ group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
12
+ cancel-in-progress : true
13
+
8
14
jobs :
9
15
linux :
10
- # We want to run on external PRs, but not on our own internal
11
- # PRs as they'll be run by the push to the branch.
12
- #
13
- # The main trick is described here:
14
- # https://github.com/Dart-Code/Dart-Code/pull/2375
15
- if : github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
16
-
17
16
strategy :
18
17
fail-fast : false
19
18
matrix :
20
19
tarantool :
21
- - ' 2.10 '
20
+ - ' 2.11 '
22
21
23
22
runs-on : ubuntu-latest
24
23
steps :
@@ -27,22 +26,24 @@ jobs:
27
26
with :
28
27
tarantool-version : ${{ matrix.tarantool }}
29
28
30
- - uses : actions/setup-python@v3
31
- with :
32
- python-version : ' 3.10'
33
-
34
29
- name : Clone the module
35
- uses : actions/checkout@v3
30
+ uses : actions/checkout@v4
36
31
with :
37
32
submodules : true
38
33
34
+ - uses : actions/setup-python@v5
35
+ with :
36
+ python-version : ' 3.10'
37
+ cache : ' pip'
38
+ cache-dependency-path : ' tests/requirements.txt'
39
+
39
40
- name : Start Kafka
40
41
41
42
with :
42
43
type : cp-all-in-one-community
43
44
44
45
- name : Install Python dependencies
45
- run : pip3 install -r tests/requirements.txt
46
+ run : pip install -r tests/requirements.txt
46
47
47
48
- name : Build module
48
49
run : |
Original file line number Diff line number Diff line change 9
9
version-check :
10
10
# We need this job to run only on push with tag.
11
11
if : ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/') }}
12
- runs-on : ubuntu-20 .04
12
+ runs-on : ubuntu-22 .04
13
13
steps :
14
14
- name : Check module version
15
15
uses : tarantool/actions/check-module-version@master
19
19
20
20
publish-scm-1 :
21
21
if : github.ref == 'refs/heads/master'
22
- runs-on : ubuntu-20 .04
22
+ runs-on : ubuntu-22 .04
23
23
steps :
24
- - uses : actions/checkout@v3
24
+ - uses : actions/checkout@v4
25
25
- uses : tarantool/rocks.tarantool.org/github-action@master
26
26
with :
27
27
auth : ${{ secrets.ROCKS_AUTH }}
@@ -30,12 +30,12 @@ jobs:
30
30
publish-tag :
31
31
if : startsWith(github.ref, 'refs/tags/')
32
32
needs : version-check
33
- runs-on : ubuntu-20 .04
33
+ runs-on : ubuntu-22 .04
34
34
steps :
35
- - uses : actions/checkout@v3
35
+ - uses : actions/checkout@v4
36
36
- uses : tarantool/setup-tarantool@v1
37
37
with :
38
- tarantool-version : ' 2.10 '
38
+ tarantool-version : ' 2.11 '
39
39
# Make a release
40
40
- run : echo TAG=${GITHUB_REF##*/} >> $GITHUB_ENV
41
41
- run : tarantoolctl rocks new_version --tag ${{ env.TAG }}
Original file line number Diff line number Diff line change 1
- pytest == 7.3.1
2
- pytest-timeout == 2.1.0
1
+ pytest == 8.2.0
2
+ pytest-timeout == 2.3.1
3
3
kafka-python == 2.0.2
4
- aiokafka == 0.8 .0
5
- tarantool == 1.0 .0
4
+ aiokafka == 0.10 .0
5
+ tarantool == 1.2 .0
You can’t perform that action at this time.
0 commit comments