Skip to content

Add tests for Vector Collection backup config #446

Add tests for Vector Collection backup config

Add tests for Vector Collection backup config #446

name: Run linter, generate docs, run mypy
on:
push:
branches:
- master
- '[45].*.z'
pull_request:
branches:
- master
- '[45].*.z'
jobs:
run-linter:
runs-on: ubuntu-latest
name: Run black to check the code style
steps:
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: '3.12'
- name: Checkout to code
uses: actions/checkout@v4
- name: Install dependencies
run: |
pip install -r requirements-dev.txt
- name: Run black
run: |
black --check --config black.toml .
generate_docs:
runs-on: ubuntu-latest
name: Generate documentation
steps:
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: '3.12'
- name: Checkout to code
uses: actions/checkout@v4
- name: Install dependencies
run: |
pip install -r requirements-dev.txt
- name: Generate documentation
working-directory: docs
run: |
make html SPHINXOPTS="-W --keep-going -b linkcheck"
run-mypy:
runs-on: ubuntu-latest
name: Run mypy to check type annotations
steps:
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: '3.12'
- name: Checkout to code
uses: actions/checkout@v4
- name: Install dependencies
run: |
pip install -r requirements-dev.txt
- name: Run mypy
run: |
mypy --show-error-codes hazelcast