Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Python package

on: [push]

env:
IGNITE_VERSION: 2.14.0
IGNITE_HOME: /opt/ignite

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
cfg:
- {python: "3.7", toxenv: "py37"}
- {python: "3.8", toxenv: "py38"}
- {python: "3.9", toxenv: "py39"}
- {python: "3.10", toxenv: "py310"}

steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.cfg.python}}
- name: Install Apache Ignite
run: |
curl -L https://apache-mirror.rbc.ru/pub/apache/ignite/${IGNITE_VERSION}/apache-ignite-slim-${IGNITE_VERSION}-bin.zip > ignite.zip
unzip ignite.zip -d /opt
mv /opt/apache-ignite-slim-${IGNITE_VERSION}-bin /opt/ignite
mv /opt/ignite/libs/optional/ignite-log4j2 /opt/ignite/libs/
- name: Run tests
run: |
pip install tox
tox -e ${{ matrix.cfg.toxenv }}