Skip to content

Restore retry, when the node have a table based on table function. (#70) #274

Restore retry, when the node have a table based on table function. (#70)

Restore retry, when the node have a table based on table function. (#70) #274

Workflow file for this run

name: main
on:
push: { branches: [main] }
pull_request: { branches: [main] }
concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}-${{ github.event.pull_request.number || github.run_number }}
cancel-in-progress: true
env:
NO_VENV: true
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.10"
cache: pip
- name: "lint: isort"
run: make isort
- name: "lint: black"
run: make black
- name: "lint: codespell"
run: make codespell
- name: "lint: ruff"
run: make ruff
- name: "lint: pylint"
run: make pylint
- name: "lint: mypy"
run: make mypy
- name: "lint: bandit"
run: make bandit
test:
name: test (Python ${{ matrix.python }}, ClickHouse ${{ matrix.clickhouse }})
needs: lint
strategy:
fail-fast: false
matrix:
include:
- python: "3.6"
clickhouse: "latest"
- python: "3.7"
clickhouse: "latest"
- python: "3.8"
clickhouse: "latest"
- python: "3.9"
clickhouse: "latest"
- python: "3.10"
clickhouse: "22.3.20.29"
- python: "3.10"
clickhouse: "22.8.21.38"
- python: "3.10"
clickhouse: "23.3.13.6"
- python: "3.10"
clickhouse: "latest"
- python: "3.11"
clickhouse: "latest"
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: set up python ${{ matrix.python }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
- name: run unit tests
run: make test-unit
- name: run integration tests
run: CLICKHOUSE_VERSION=${{ matrix.clickhouse }} make test-integration
- uses: actions/upload-artifact@v3
if: ${{ failure() }}
with:
name: integration-test-logs-py${{ matrix.python }}-clickhouse-${{ matrix.clickhouse }}
path: staging/logs/
if-no-files-found: ignore