File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,36 +2,37 @@ name: asan_testing
22
33on :
44 push :
5+ branches :
6+ - master
57 pull_request :
68 workflow_dispatch :
79
10+ concurrency :
11+ group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
12+ cancel-in-progress : true
13+
814jobs :
915 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-
1716 runs-on : ubuntu-latest
1817 steps :
19- - uses : actions/setup-python@v3
20- with :
21- python-version : ' 3.10'
22-
2318 - name : Clone the module
24- uses : actions/checkout@v3
19+ uses : actions/checkout@v4
2520 with :
2621 submodules : true
2722
23+ - uses : actions/setup-python@v5
24+ with :
25+ python-version : ' 3.10'
26+ cache : ' pip'
27+ cache-dependency-path : ' tests/requirements.txt'
28+
2829 - name : Start Kafka
2930 uses : ybyzek/cp-all-in-one-action@v0.2.1
3031 with :
3132 type : cp-all-in-one-community
3233
3334 - name : Install Python dependencies
34- run : pip3 install -r tests/requirements.txt
35+ run : pip install -r tests/requirements.txt
3536
3637 - name : Build module
3738 run : |
Original file line number Diff line number Diff line change @@ -2,23 +2,22 @@ name: fast_testing
22
33on :
44 push :
5+ branches :
6+ - master
57 pull_request :
68 workflow_dispatch :
79
10+ concurrency :
11+ group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
12+ cancel-in-progress : true
13+
814jobs :
915 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-
1716 strategy :
1817 fail-fast : false
1918 matrix :
2019 tarantool :
21- - ' 2.10 '
20+ - ' 2.11 '
2221
2322 runs-on : ubuntu-latest
2423 steps :
@@ -27,22 +26,24 @@ jobs:
2726 with :
2827 tarantool-version : ${{ matrix.tarantool }}
2928
30- - uses : actions/setup-python@v3
31- with :
32- python-version : ' 3.10'
33-
3429 - name : Clone the module
35- uses : actions/checkout@v3
30+ uses : actions/checkout@v4
3631 with :
3732 submodules : true
3833
34+ - uses : actions/setup-python@v5
35+ with :
36+ python-version : ' 3.10'
37+ cache : ' pip'
38+ cache-dependency-path : ' tests/requirements.txt'
39+
3940 - name : Start Kafka
4041 uses : ybyzek/cp-all-in-one-action@v0.2.1
4142 with :
4243 type : cp-all-in-one-community
4344
4445 - name : Install Python dependencies
45- run : pip3 install -r tests/requirements.txt
46+ run : pip install -r tests/requirements.txt
4647
4748 - name : Build module
4849 run : |
Original file line number Diff line number Diff line change 99 version-check :
1010 # We need this job to run only on push with tag.
1111 if : ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/') }}
12- runs-on : ubuntu-20 .04
12+ runs-on : ubuntu-22 .04
1313 steps :
1414 - name : Check module version
1515 uses : tarantool/actions/check-module-version@master
1919
2020 publish-scm-1 :
2121 if : github.ref == 'refs/heads/master'
22- runs-on : ubuntu-20 .04
22+ runs-on : ubuntu-22 .04
2323 steps :
24- - uses : actions/checkout@v3
24+ - uses : actions/checkout@v4
2525 - uses : tarantool/rocks.tarantool.org/github-action@master
2626 with :
2727 auth : ${{ secrets.ROCKS_AUTH }}
@@ -30,12 +30,12 @@ jobs:
3030 publish-tag :
3131 if : startsWith(github.ref, 'refs/tags/')
3232 needs : version-check
33- runs-on : ubuntu-20 .04
33+ runs-on : ubuntu-22 .04
3434 steps :
35- - uses : actions/checkout@v3
35+ - uses : actions/checkout@v4
3636 - uses : tarantool/setup-tarantool@v1
3737 with :
38- tarantool-version : ' 2.10 '
38+ tarantool-version : ' 2.11 '
3939 # Make a release
4040 - run : echo TAG=${GITHUB_REF##*/} >> $GITHUB_ENV
4141 - 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
33kafka-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