Skip to content

Commit 94e619a

Browse files
authored
IGNITE-18006 Support timeouts in async cache operations (#58)
1 parent bc5a52c commit 94e619a

13 files changed

Lines changed: 430 additions & 125 deletions

File tree

.github/workflows/pr_check.yml

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one or more
2+
# contributor license agreements. See the NOTICE file distributed with
3+
# this work for additional information regarding copyright ownership.
4+
# The ASF licenses this file to You under the Apache License, Version 2.0
5+
# (the "License"); you may not use this file except in compliance with
6+
# the License. You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
16+
name: Check code style and run tests
17+
on:
18+
pull_request:
19+
push:
20+
branches:
21+
- master
22+
- 'pyignite-*'
23+
24+
env:
25+
IGNITE_VERSION: 2.14.0
26+
IGNITE_HOME: /opt/ignite
27+
28+
jobs:
29+
build:
30+
runs-on: ubuntu-latest
31+
strategy:
32+
fail-fast: false
33+
matrix:
34+
cfg:
35+
- { python: "3.7", toxenv: "py37" }
36+
- { python: "3.8", toxenv: "py38" }
37+
- { python: "3.9", toxenv: "py39" }
38+
- { python: "3.10", toxenv: "py310" }
39+
- { python: "3.11", toxenv: "py311" }
40+
- { python: "3.11", toxenv: "codestyle" }
41+
42+
steps:
43+
- uses: actions/checkout@v3
44+
- name: Set up Python ${{ matrix.python-version }}
45+
uses: actions/setup-python@v4
46+
with:
47+
python-version: ${{ matrix.cfg.python}}
48+
- name: Install Apache Ignite
49+
run: |
50+
curl -L https://apache-mirror.rbc.ru/pub/apache/ignite/${IGNITE_VERSION}/apache-ignite-slim-${IGNITE_VERSION}-bin.zip > ignite.zip
51+
unzip ignite.zip -d /opt
52+
mv /opt/apache-ignite-slim-${IGNITE_VERSION}-bin /opt/ignite
53+
mv /opt/ignite/libs/optional/ignite-log4j2 /opt/ignite/libs/
54+
55+
- name: Install tox
56+
run: |
57+
pip install tox
58+
59+
- name: Run tests
60+
run: |
61+
tox -e ${{ matrix.cfg.toxenv }}

.travis.yml

Lines changed: 0 additions & 54 deletions
This file was deleted.

0 commit comments

Comments
 (0)